changeset 12127:4eef12903112

Put comments first in texinfo-font-lock-keywords.
author Simon Marshall <simon@gnu.org>
date Thu, 08 Jun 1995 14:29:13 +0000
parents 0b0b0c2e5254
children 27144f55d1c6
files lisp/textmodes/texinfo.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/texinfo.el	Thu Jun 08 13:03:15 1995 +0000
+++ b/lisp/textmodes/texinfo.el	Thu Jun 08 14:29:13 1995 +0000
@@ -198,8 +198,8 @@
 
 (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)