comparison lisp/obsolete/fast-lock.el @ 72934:b193d9616957

(fast-lock-cache-data): Provide 2nd arg to font-lock-compile-keywords.
author Richard M. Stallman <rms@gnu.org>
date Sat, 16 Sep 2006 17:54:41 +0000
parents e8a3fb527b77
children f7702c5f335d
comparison
equal deleted inserted replaced
72933:cc737d1f33f9 72934:b193d9616957
621 (setq font-lock-syntactic-keywords (font-lock-eval-keywords 621 (setq font-lock-syntactic-keywords (font-lock-eval-keywords
622 font-lock-syntactic-keywords)) 622 font-lock-syntactic-keywords))
623 ;; Compile all keywords in case some are and some aren't. 623 ;; Compile all keywords in case some are and some aren't.
624 (when font-lock-syntactic-keywords 624 (when font-lock-syntactic-keywords
625 (setq font-lock-syntactic-keywords (font-lock-compile-keywords 625 (setq font-lock-syntactic-keywords (font-lock-compile-keywords
626 font-lock-syntactic-keywords))) 626 font-lock-syntactic-keywords t)))
627 (when syntactic-keywords 627 (when syntactic-keywords
628 (setq syntactic-keywords (font-lock-compile-keywords syntactic-keywords))) 628 (setq syntactic-keywords (font-lock-compile-keywords syntactic-keywords t)))
629 (setq font-lock-keywords (font-lock-compile-keywords font-lock-keywords) 629 (setq font-lock-keywords (font-lock-compile-keywords font-lock-keywords)
630 keywords (font-lock-compile-keywords keywords)) 630 keywords (font-lock-compile-keywords keywords))
631 ;; Use the Font Lock cache SYNTACTIC-PROPERTIES and FACE-PROPERTIES if we're 631 ;; Use the Font Lock cache SYNTACTIC-PROPERTIES and FACE-PROPERTIES if we're
632 ;; using cache VERSION format 3, the current buffer's file timestamp matches 632 ;; using cache VERSION format 3, the current buffer's file timestamp matches
633 ;; the TIMESTAMP, the current buffer's `font-lock-syntactic-keywords' are the 633 ;; the TIMESTAMP, the current buffer's `font-lock-syntactic-keywords' are the