Fix "dnl" highlights in m4-mode
* lisp/progmodes/m4-mode.el (m4-font-lock-keywords): "dnl" comments should override any previous syntax-based highlighting (37132). This makes "dnl foo#bar" be highlighted correctly.
This commit is contained in:
parent
e1409379f7
commit
66efb2f3a6
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ If m4 is not in your PATH, set this to an absolute file name."
|
|||
;;(defconst m4-program-options '("--prefix-builtins"))
|
||||
|
||||
(defvar m4-font-lock-keywords
|
||||
'(("\\(\\_<\\(m4_\\)?dnl\\_>\\).*$" . font-lock-comment-face)
|
||||
'(("\\(\\_<\\(m4_\\)?dnl\\_>\\).*$" (0 font-lock-comment-face t))
|
||||
("\\$[*#@0-9]" . font-lock-variable-name-face)
|
||||
("\\$@" . font-lock-variable-name-face)
|
||||
("\\$\\*" . font-lock-variable-name-face)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue