diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/make-mode.el | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6a14d7e8256..f348ce0733b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2001-02-06 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 2 | |||
| 3 | * progmodes/make-mode.el (makefile-mode): Set SYNTAX-BEGIN member | ||
| 4 | of `font-lock-defaults' to `backward-paragraph' rather than nil. | ||
| 5 | |||
| 1 | 2001-02-06 Andrew Innes <andrewi@gnu.org> | 6 | 2001-02-06 Andrew Innes <andrewi@gnu.org> |
| 2 | 7 | ||
| 3 | * makefile.w32-in (EMACS): Use $(THISDIR) to make emacs.exe path | 8 | * makefile.w32-in (EMACS): Use $(THISDIR) to make emacs.exe path |
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) |