# HG changeset patch # User Simon Marshall # Date 802621753 0 # Node ID 4eef12903112b3fc3cdd68e091ee30cd232c587f # Parent 0b0b0c2e52547399c8cbfd33433db87de6c29453 Put comments first in texinfo-font-lock-keywords. diff -r 0b0b0c2e5254 -r 4eef12903112 lisp/textmodes/texinfo.el --- 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)