emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: font-lock-fontify-buffer removes highlighting in non font-lock buffe


From: Richard M. Stallman
Subject: Re: font-lock-fontify-buffer removes highlighting in non font-lock buffers
Date: Thu, 22 Dec 2005 00:47:38 -0500

    I see at least three solutions:

    * check font-lock-keywords in font-lock-default-function for the compiled
      empty value `(t nil)' and don't call font-lock-mode-internal for this
      value;

I'd rather intervene at an earlier stage so that it is not compiled at
all.

Why not?

    * make the variable font-lock-keywords automatically buffer-local;

That might be an ok solution.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]