From 7ac268120e9e5ff944262ae4ad03232559d5a6d8 Mon Sep 17 00:00:00 2001 From: Simon Marshall Date: Thu, 8 Jun 1995 14:29:13 +0000 Subject: [PATCH] Put comments first in texinfo-font-lock-keywords. --- lisp/textmodes/texinfo.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2