aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/make-mode.el11
1 files changed, 8 insertions, 3 deletions
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el
index ae977b1e52e..f56d08a76b7 100644
--- a/lisp/progmodes/make-mode.el
+++ b/lisp/progmodes/make-mode.el
@@ -301,9 +301,14 @@ not be enclosed in { } or ( )."
301 '("^\\( +\\)\t" 1 makefile-space-face))) 301 '("^\\( +\\)\t" 1 makefile-space-face)))
302 302
303(defconst makefile-font-lock-syntactic-keywords 303(defconst makefile-font-lock-syntactic-keywords
304 (list 304 ;; From sh-script.el.
305 ;; Change the syntax of a quoted newline so that it does not end a comment. 305 ;; A `#' begins a comment in sh when it is unquoted and at the beginning
306 '("\\\\\n" 0 " "))) 306 ;; of a word. In the shell, words are separated by metacharacters.
307 ;; The list of special chars is taken from the single-unix spec of the
308 ;; shell command language (under `quoting') but with `$' removed.
309 '(("[^|&;<>()`\\\"' \t\n]\\(#+\\)" 1 "_")
310 ;; Change the syntax of a quoted newline so that it does not end a comment.
311 ("\\\\\n" 0 ".")))
307 312
308(defvar makefile-imenu-generic-expression 313(defvar makefile-imenu-generic-expression
309 (list 314 (list