>> (set (make-local-variable 'font-lock-keywords)
>> !       (font-lock-eval-keywords (or keywords font-lock-keywords)))

> Wouldn't this mean that old keywords survive a major-mode change?
> What about the companions in `font-lock-defaults'?  In general I
> think all those should survive iff they have been hacked before.

Could be.  The patch is not really a fix, but more just a workaround.
The source of the problem seems to have to do with the order in which the
variable settings in file-local variables are procesed.  Or something like
that.


        Stefan


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to