diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tools/emacs/erlang.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/tools/emacs/erlang.el b/lib/tools/emacs/erlang.el index c395d22356..cd6ba7d230 100644 --- a/lib/tools/emacs/erlang.el +++ b/lib/tools/emacs/erlang.el @@ -1415,6 +1415,11 @@ Other commands: (if (boundp 'after-change-major-mode-hook) (run-hooks 'after-change-major-mode-hook))) +;;;###autoload +(add-to-list 'auto-mode-alist '("\\.erl$" . erlang-mode)) + +;;;###autoload +(add-to-list 'auto-mode-alist '("\\.app\\.src$" . erlang-mode)) (defun erlang-syntax-table-init () (if (null erlang-mode-syntax-table) |