[Top][All Lists]

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

Re: cannot activate font-lock-mode

From: Stefan Monnier
Subject: Re: cannot activate font-lock-mode
Date: Thu, 31 May 2007 13:10:20 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

>> (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


reply via email to

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