aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2013-04-02 17:58:22 +0200
committerFredrik Gustafsson <[email protected]>2013-04-02 17:58:22 +0200
commit63862ed433bc4d2a6fb9013fd1da325f90b05a6f (patch)
treeb092597adeb8b7268dff80a3568272ca3381149c /lib
parent36a0b7fb03884f4ab52f1dce4bbd4942b536e1af (diff)
parentdd1e9a44c31ff10f8ac1260d751b266c512b11e2 (diff)
downloadotp-63862ed433bc4d2a6fb9013fd1da325f90b05a6f.tar.gz
otp-63862ed433bc4d2a6fb9013fd1da325f90b05a6f.tar.bz2
otp-63862ed433bc4d2a6fb9013fd1da325f90b05a6f.zip
Merge branch 'maint'
Diffstat (limited to 'lib')
-rw-r--r--lib/tools/emacs/erlang-start.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/tools/emacs/erlang-start.el b/lib/tools/emacs/erlang-start.el
index bbcea3e46a..e1dc86621e 100644
--- a/lib/tools/emacs/erlang-start.el
+++ b/lib/tools/emacs/erlang-start.el
@@ -83,6 +83,7 @@
;; Associate files extensions ".erl" and ".hrl" with Erlang mode.
;;
+;;;###autoload
(let ((a '("\\.erl\\'" . erlang-mode))
(b '("\\.hrl\\'" . erlang-mode)))
(or (assoc (car a) auto-mode-alist)
@@ -94,6 +95,7 @@
;; Associate files using interpreter "escript" with Erlang mode.
;;
+;;;###autoload
(add-to-list 'interpreter-mode-alist (cons "escript" 'erlang-mode))
;;
@@ -101,6 +103,7 @@
;; file completion.
;;
+;;;###autoload
(let ((erl-ext '(".jam" ".vee" ".beam")))
(while erl-ext
(let ((cie completion-ignored-extensions))