summaryrefslogtreecommitdiff
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorSimon Marshall <simon@gnu.org>1995-06-08 14:29:13 +0000
committerSimon Marshall <simon@gnu.org>1995-06-08 14:29:13 +0000
commite3f840f37b70dff54a30fe107b494b84610180b3 (patch)
treec3ff80484cb08007e8af54cf2f03816d370c7057 /lisp/textmodes
parent0ea3d0978fdd8bf16db52cddcd113e54092ce4f3 (diff)
downloademacs-e3f840f37b70dff54a30fe107b494b84610180b3.tar.gz
Put comments first in texinfo-font-lock-keywords.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/texinfo.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el
index ee60ee4ebeb..0b53fab1496 100644
--- a/lisp/textmodes/texinfo.el
+++ b/lisp/textmodes/texinfo.el
@@ -198,8 +198,8 @@ chapter."
(defvar texinfo-font-lock-keywords
(list
+ '("^\\(@c\\|@comment\\)[ \t].*" . font-lock-comment-face) ;comments
"@\\(@\\|[^}\t \n{]+\\)" ;commands
- '("^\\(@c\\|@comment\\)[ \t].*$" . font-lock-comment-face) ;comments
'("^\\(*.*\\)[\t ]*$" 1 font-lock-function-name-face t) ;menu items
'("@\\(emph\\|strong\\|b\\|i\\){\\([^}]+\\)" 2 font-lock-comment-face t)
'("@\\(file\\|kbd\\|key\\){\\([^}]+\\)" 2 font-lock-string-face t)