Francesco Potorti` <[EMAIL PROTECTED]> 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.



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

Reply via email to