aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/emacs/erlang.el
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2010-01-26 11:19:47 +0100
committerBjörn Gustavsson <[email protected]>2010-01-29 16:51:02 +0100
commit2cbe8533fe2f0bde3c1a61012b805d0e1652a7e0 (patch)
tree51446cfd37b95d7aca4141b7ad21a80e324ccc1b /lib/tools/emacs/erlang.el
parentb4fd16161390cda361273ca5a50712dfbac064a0 (diff)
downloadotp-2cbe8533fe2f0bde3c1a61012b805d0e1652a7e0.tar.gz
otp-2cbe8533fe2f0bde3c1a61012b805d0e1652a7e0.tar.bz2
otp-2cbe8533fe2f0bde3c1a61012b805d0e1652a7e0.zip
Added the old style skeletons, and a variable to change.
Diffstat (limited to 'lib/tools/emacs/erlang.el')
-rw-r--r--lib/tools/emacs/erlang.el13
1 files changed, 10 insertions, 3 deletions
diff --git a/lib/tools/emacs/erlang.el b/lib/tools/emacs/erlang.el
index 12219c9257..0c3e235efa 100644
--- a/lib/tools/emacs/erlang.el
+++ b/lib/tools/emacs/erlang.el
@@ -72,7 +72,7 @@
;; Variables:
-(defconst erlang-version "2.6.2"
+(defconst erlang-version "2.7"
"The version number of Erlang mode.")
(defvar erlang-root-dir nil
@@ -895,9 +895,16 @@ behaviour.")
(defconst inferior-erlang-use-cmm (boundp 'minor-mode-overriding-map-alist)
"Non-nil means use `compilation-minor-mode' in Erlang shell.")
-;; Tempo skeleton templates:
-(load "erlang-skels")
+(defvar erlang-skel-file "erlang-skels"
+ "The type of erlang-skeletons that should be used, default
+ uses edoc type, for the old type, standard comments,
+ set \"erlang-skels-old\" in your .emacs and restart.
+
+ Or define your own and set the variable to that file.")
+
+;; Tempo skeleton templates:
+(load erlang-skel-file)
;; Font-lock variables