[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug] font-lock-add-keywords or related
From: |
Karl Chen |
Subject: |
[bug] font-lock-add-keywords or related |
Date: |
02 Jul 2004 12:03:31 +0200 |
This possible bug occurs in emacs cvs 2004-07-01 (probably related
to 2004-06-24 change) but not in emacs from about two weeks ago.
emacs -q /tmp/a.el
;; type this into a.el:
(global-font-lock-mode 1)
(progn
(defun f ()
(font-lock-add-keywords
;; nil '(("\\<\\(FIXME\\|TODO\\|XXX+\\)\\([:)]\\|$\\)" 1
font-lock-warning-face prepend))))
nil '(("zzz"))))
(add-hook 'find-file-hooks 'f)
(revert-buffer nil t))
;; C-x C-s (save) and C-x C-e (evaluate) on global-font-lock-mode
;; line. Now buffer is fontified. Now evaluate the second sexp.
;; Now buffer is only minimally fontified (only strings and
;; comments)
--
Karl 2004-07-02 11:56
- [bug] font-lock-add-keywords or related,
Karl Chen <=