aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/emacs
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2014-01-22 11:46:24 +0100
committerDan Gudmundsson <[email protected]>2014-01-22 11:46:24 +0100
commit5245c80ac760a2757611a39fd3923e31ec4aeb21 (patch)
tree2677268f3a61d28c48b3f8cdbc9245890b6426b0 /lib/tools/emacs
parentdfda225071ad46dc20cfe5e2a7e3f4abdfddcfae (diff)
parent6667c6187753d476611282524148fd239309d3eb (diff)
downloadotp-5245c80ac760a2757611a39fd3923e31ec4aeb21.tar.gz
otp-5245c80ac760a2757611a39fd3923e31ec4aeb21.tar.bz2
otp-5245c80ac760a2757611a39fd3923e31ec4aeb21.zip
Merge remote-tracking branch 'vinoski/vinoski/emacs-fun-arity' into vinoski/emacs-fixes
Diffstat (limited to 'lib/tools/emacs')
-rw-r--r--lib/tools/emacs/erlang.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/tools/emacs/erlang.el b/lib/tools/emacs/erlang.el
index eff769a9ff..6bd221f88f 100644
--- a/lib/tools/emacs/erlang.el
+++ b/lib/tools/emacs/erlang.el
@@ -3652,6 +3652,10 @@ Normally used in conjunction with `erlang-beginning-of-clause', e.g.:
(setq cont nil))
((looking-at "\\s *\\($\\|%\\)")
(forward-line 1))
+ ((looking-at "\\s *<<[^>]*?>>")
+ (when (zerop res)
+ (setq res (+ 1 res)))
+ (goto-char (match-end 0)))
((looking-at "\\s *,")
(setq res (+ 1 res))
(goto-char (match-end 0)))