mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-31 21:01:23 -08:00
(makefile-mode): Set SYNTAX-BEGIN member
of `font-lock-defaults' to `backward-paragraph' rather than nil.
This commit is contained in:
parent
b03b1ad2b0
commit
c7ca58df3b
2 changed files with 10 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue