(fast-lock-cache-data): Provide 2nd arg to font-lock-compile-keywords.

This commit is contained in:
Richard M. Stallman 2006-09-16 17:55:13 +00:00
parent 533047c2e5
commit 9af0a0b9c8
2 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,11 @@
2006-09-16 Richard Stallman <rms@gnu.org>
* obsolete/fast-lock.el (fast-lock-cache-data): Provide 2nd arg to
font-lock-compile-keywords.
* font-lock.el (font-lock-compile-keywords): Rename optional arg
to SYNTACTIC-KEYWORDS and reverse the sense. All callers changed.
2006-09-16 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
* cus-start.el (all): Add x-gtk-show-chooser-help-text.

View file

@ -623,9 +623,9 @@ See `fast-lock-cache-directory'."
;; Compile all keywords in case some are and some aren't.
(when font-lock-syntactic-keywords
(setq font-lock-syntactic-keywords (font-lock-compile-keywords
font-lock-syntactic-keywords)))
font-lock-syntactic-keywords t)))
(when syntactic-keywords
(setq syntactic-keywords (font-lock-compile-keywords syntactic-keywords)))
(setq syntactic-keywords (font-lock-compile-keywords syntactic-keywords t)))
(setq font-lock-keywords (font-lock-compile-keywords font-lock-keywords)
keywords (font-lock-compile-keywords keywords))
;; Use the Font Lock cache SYNTACTIC-PROPERTIES and FACE-PROPERTIES if we're