[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cannot activate font-lock-mode
From: |
Chong Yidong |
Subject: |
Re: cannot activate font-lock-mode |
Date: |
Fri, 20 Apr 2007 10:38:18 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.98 (gnu/linux) |
Francesco Potorti` <address@hidden> writes:
>> > I answer y, but I get the message: Toggling font-lock-mode off;
>> > better pass an explicit argument.
>>
>>This is done in `hack-one-local-variable' where
>>
>> (funcall mode)
>>
>>simply executes `font-lock-mode' which toggles font-lock mode off since
>>it does not get an argument.
>
> Why does it do that? Shouldn't it simply set font-lock-keywords to the
> value I specified? This is what happened in Emacs 21, as far as I can
> tell.
Not because of font-lock-keywords, but because of this line:
# mode: font-lock
Note that font-lock-mode is now turned on by default.