aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/emacs/erlang.el
diff options
context:
space:
mode:
authorLeo Liu <[email protected]>2016-09-03 16:11:44 +0800
committerLeo Liu <[email protected]>2016-10-06 20:09:14 +0800
commite368a0a6773df3d764ec65760e235da559f5f56b (patch)
treec1651170e059571d197ada78e026e16599824186 /lib/tools/emacs/erlang.el
parent680945a01be052f1c68750ff1d386185bfad0788 (diff)
downloadotp-e368a0a6773df3d764ec65760e235da559f5f56b.tar.gz
otp-e368a0a6773df3d764ec65760e235da559f5f56b.tar.bz2
otp-e368a0a6773df3d764ec65760e235da559f5f56b.zip
New file erlang-edoc.el to support EDoc in erlang-mode
- EDoc markup font-locking and tag completion - EDoc comment indentation
Diffstat (limited to 'lib/tools/emacs/erlang.el')
-rw-r--r--lib/tools/emacs/erlang.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/tools/emacs/erlang.el b/lib/tools/emacs/erlang.el
index 73c6b8d768..202b3576ab 100644
--- a/lib/tools/emacs/erlang.el
+++ b/lib/tools/emacs/erlang.el
@@ -78,6 +78,10 @@
;; Variables:
+(defgroup erlang nil
+ "The Erlang programming language."
+ :group 'languages)
+
(defconst erlang-version "2.7"
"The version number of Erlang mode.")
@@ -2446,6 +2450,7 @@ Return the amount the indentation changed by."
;; after the indentation. Else stay at same point in text.
(if (> (- (point-max) pos) (point))
(goto-char (- (point-max) pos)))
+ (run-hooks 'erlang-indent-line-hook)
shift-amt))