Commit c7ca58df authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(makefile-mode): Set SYNTAX-BEGIN member

of `font-lock-defaults' to `backward-paragraph' rather than nil.
parent b03b1ad2
2001-02-06 Eli Zaretskii <eliz@is.elta.co.il>
* progmodes/make-mode.el (makefile-mode): Set SYNTAX-BEGIN member
of `font-lock-defaults' to `backward-paragraph' rather than nil.
2001-02-06 Andrew Innes <andrewi@gnu.org>
 
* makefile.w32-in (EMACS): Use $(THISDIR) to make emacs.exe path
......
......@@ -587,7 +587,11 @@ makefile-special-targets-list:
;; Font lock.
(make-local-variable 'font-lock-defaults)
(setq font-lock-defaults '(makefile-font-lock-keywords))
(setq font-lock-defaults
;; SYNTAX-BEGIN set to backward-paragraph to avoid slow-down
;; near the end of a large buffer, due to parse-partial-sexp's
;; trying to parse all the way till the beginning of buffer.
'(makefile-font-lock-keywords nil nil nil backward-paragraph))
;; Add-log.
(make-local-variable 'add-log-current-defun-function)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment