summaryrefslogtreecommitdiff
path: root/debian/patches/autoload-auto-mode-alist.patch
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-01-27 08:42:34 -0400
committerDavid Bremner <david@tethera.net>2021-01-27 08:42:34 -0400
commit102df56508d49db9679b687045567c1ffc72c2ef (patch)
treef142df87bf9829f9c42ba8b2775c1d551ced161e /debian/patches/autoload-auto-mode-alist.patch
parent5d311862e3e8319ae6590e72225489670a9d13fc (diff)
git-debrebase convert-from-gbp: drop patches from tree
Delete debian/patches, as part of converting to git-debrebase format. [git-debrebase convert-from-gbp: drop patches from tree]
Diffstat (limited to 'debian/patches/autoload-auto-mode-alist.patch')
-rw-r--r--debian/patches/autoload-auto-mode-alist.patch18
1 files changed, 0 insertions, 18 deletions
diff --git a/debian/patches/autoload-auto-mode-alist.patch b/debian/patches/autoload-auto-mode-alist.patch
deleted file mode 100644
index bfafacc..0000000
--- a/debian/patches/autoload-auto-mode-alist.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Description: ensure js2-mode is used with JS file
- This patch allows the package to keep the same behaviour as previous
- versions.
-
-Index: js2-mode/js2-mode.el
-===================================================================
---- js2-mode.orig/js2-mode.el
-+++ js2-mode/js2-mode.el
-@@ -12422,6 +12422,9 @@ and variables NAMES will contain one ele
- node) name)))
- (if scope (js2-symbol-ast-node (js2-scope-get-symbol scope name)))))
-
-+;;;###autoload
-+(add-to-list 'auto-mode-alist '("\\.js$" . js2-mode))
-+
- (provide 'js2-mode)
-
- ;;; js2-mode.el ends here