emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-25 ce4bdd7: Highlight assignments in Makefiles more


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] emacs-25 ce4bdd7: Highlight assignments in Makefiles more correctly
Date: Wed, 24 Feb 2016 01:22:19 +0000

branch: emacs-25
commit ce4bdd77b028bf95dae0730d7a9369d676e5efa0
Author: John F. Trudeau <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Highlight assignments in Makefiles more correctly
    
    * lisp/progmodes/make-mode.el (makefile-macroassign-regex):
    Highlight assignments preceded by a TAB character correctly
    (bug#20787).
    
    Copyright-paperwork-exempt: yes
    
    Backport:
    
    (cherry picked from commit bbd86c5642bd62c43d72391669f28eaa14459fd5)
---
 lisp/progmodes/make-mode.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el
index 5cc6321..ee4b104 100644
--- a/lisp/progmodes/make-mode.el
+++ b/lisp/progmodes/make-mode.el
@@ -291,7 +291,7 @@ not be enclosed in { } or ( )."
   ;; (spanning potentially several lines).
   ;; "^ *\\([^ \n\t][^:#= \t\n]*\\)[ \t]*\\(?:!=[ 
\t]*\\(\\(?:.+\\\\\n\\)*.+\\)\\|[*:+]?[:?]?=[ \t]*\\(\\(?:.*\\\\\n\\)*.*\\)\\)"
   ;; What about the define statement?  What about differentiating this for 
makepp?
-  "\\(?:^\\|^export\\|^override\\|:\\|: *override\\) *\\([^ \n\t][^:#= 
\t\n]*\\)[ \t]*\\(?:!=\\|[*:+]?[:?]?=\\)"
+  "\\(?:^\\|^export\\|^override\\|:\\|:[ \t]*override\\)[ \t]*\\([^ \n\t][^:#= 
\t\n]*\\)[ \t]*\\(?:!=\\|[*:+]?[:?]?=\\)"
   "Regex used to find macro assignment lines in a makefile.")
 
 (defconst makefile-var-use-regex



reply via email to

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