aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/make-mode.el11
1 files changed, 10 insertions, 1 deletions
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el
index 4ffdfdef011..f44bca814cc 100644
--- a/lisp/progmodes/make-mode.el
+++ b/lisp/progmodes/make-mode.el
@@ -300,6 +300,11 @@ not be enclosed in { } or ( )."
300 ;; They can make a tab fail to be effective. 300 ;; They can make a tab fail to be effective.
301 '("^\\( +\\)\t" 1 makefile-space-face))) 301 '("^\\( +\\)\t" 1 makefile-space-face)))
302 302
303(defconst makefile-font-lock-syntactic-keywords
304 (list
305 ;; Change the syntax of a quoted newline so that it does not end a comment.
306 '("\\\\\n" 0 " ")))
307
303(defvar makefile-imenu-generic-expression 308(defvar makefile-imenu-generic-expression
304 (list 309 (list
305 (list "Dependencies" makefile-dependency-regex 1) 310 (list "Dependencies" makefile-dependency-regex 1)
@@ -588,7 +593,11 @@ Makefile mode can be configured by modifying the following variables:
588 ;; SYNTAX-BEGIN set to backward-paragraph to avoid slow-down 593 ;; SYNTAX-BEGIN set to backward-paragraph to avoid slow-down
589 ;; near the end of a large buffer, due to parse-partial-sexp's 594 ;; near the end of a large buffer, due to parse-partial-sexp's
590 ;; trying to parse all the way till the beginning of buffer. 595 ;; trying to parse all the way till the beginning of buffer.
591 '(makefile-font-lock-keywords nil nil ((?$ . ".")) backward-paragraph)) 596 '(makefile-font-lock-keywords
597 nil nil
598 ((?$ . "."))
599 backward-paragraph
600 (font-lock-syntactic-keywords . makefile-font-lock-syntactic-keywords)))
592 601
593 ;; Add-log. 602 ;; Add-log.
594 (make-local-variable 'add-log-current-defun-function) 603 (make-local-variable 'add-log-current-defun-function)