emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 66efb2f 4/4: Fix "dnl" highlights in m4-mode


From: Lars Ingebrigtsen
Subject: master 66efb2f 4/4: Fix "dnl" highlights in m4-mode
Date: Wed, 30 Oct 2019 08:16:52 -0400 (EDT)

branch: master
commit 66efb2f3a636868ada730c2f472f070a51f3c6b2
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    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.
---
 lisp/progmodes/m4-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/m4-mode.el b/lisp/progmodes/m4-mode.el
index 98b812f..15461a9 100644
--- a/lisp/progmodes/m4-mode.el
+++ b/lisp/progmodes/m4-mode.el
@@ -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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]