aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo Liu <[email protected]>2016-11-26 13:02:40 +0800
committerLeo Liu <[email protected]>2016-11-26 13:02:40 +0800
commit0a1d0677805ade9cb10bd2ec00372a34db79d805 (patch)
tree12e9cfc0b3e56d7437bf2ecc2db024e97d34f12e
parentf8aef2dcae7162b59efb9513442c9643c9f5159e (diff)
downloadotp-0a1d0677805ade9cb10bd2ec00372a34db79d805.tar.gz
otp-0a1d0677805ade9cb10bd2ec00372a34db79d805.tar.bz2
otp-0a1d0677805ade9cb10bd2ec00372a34db79d805.zip
Fix font-locking for @deprecated in erlang-edoc-mode
-rw-r--r--lib/tools/emacs/erlang-edoc.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tools/emacs/erlang-edoc.el b/lib/tools/emacs/erlang-edoc.el
index 034036ad04..2801aa8ae7 100644
--- a/lib/tools/emacs/erlang-edoc.el
+++ b/lib/tools/emacs/erlang-edoc.el
@@ -78,7 +78,7 @@
'(("^%+\\s-*\\(@\\w+\\)\\_>" 1 'erlang-edoc-tag prepend)
("^%+\\s-*" ("{\\(@\\w+\\)\\_>" nil nil (1 'erlang-edoc-macro prepend)))
("^%+\\s-*" ("\\(?:@@\\)*\\(@[@{}]\\)" nil nil (1 'escape-glyph prepend)))
- ("^%+\\s-*@\\(deprecated\\)\\_>" 1 font-lock-warning-face prepend)
+ ("^%+\\s-*\\(@deprecated\\)\\_>" 1 font-lock-warning-face prepend)
;; http://www.erlang.org/doc/apps/edoc/chapter.html#Wiki_notation
("^%+\\s-*" ("[^`]`\\([^`]?\\|[^`].*?[^']\\)'"
(forward-char -1) nil (1 'erlang-edoc-verbatim prepend)))