]> git.eshelyaron.com Git - emacs.git/commitdiff
Put comments first in texinfo-font-lock-keywords.
authorSimon Marshall <simon@gnu.org>
Thu, 8 Jun 1995 14:29:13 +0000 (14:29 +0000)
committerSimon Marshall <simon@gnu.org>
Thu, 8 Jun 1995 14:29:13 +0000 (14:29 +0000)
lisp/textmodes/texinfo.el

index ee60ee4ebeb68aba2aac0427c8b79fc604dc5620..0b53fab14968114be22f37d19e806c547fb0b9ee 100644 (file)
@@ -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)