aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/make-mode.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el
index adeec830ab4..72e2e863a76 100644
--- a/lisp/progmodes/make-mode.el
+++ b/lisp/progmodes/make-mode.el
@@ -587,7 +587,11 @@ makefile-special-targets-list:
587 587
588 ;; Font lock. 588 ;; Font lock.
589 (make-local-variable 'font-lock-defaults) 589 (make-local-variable 'font-lock-defaults)
590 (setq font-lock-defaults '(makefile-font-lock-keywords)) 590 (setq font-lock-defaults
591 ;; SYNTAX-BEGIN set to backward-paragraph to avoid slow-down
592 ;; near the end of a large buffer, due to parse-partial-sexp's
593 ;; trying to parse all the way till the beginning of buffer.
594 '(makefile-font-lock-keywords nil nil nil backward-paragraph))
591 595
592 ;; Add-log. 596 ;; Add-log.
593 (make-local-variable 'add-log-current-defun-function) 597 (make-local-variable 'add-log-current-defun-function)