From: Simon Marshall Date: Thu, 8 Jun 1995 14:29:13 +0000 (+0000) Subject: Put comments first in texinfo-font-lock-keywords. X-Git-Tag: emacs-19.34~3732 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7ac268120e9e5ff944262ae4ad03232559d5a6d8;p=emacs.git Put comments first in texinfo-font-lock-keywords. --- 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)