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.
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug