* eval: (font-lock-mode -1) not working
@ 2012-07-04 20:18 Enda
0 siblings, 0 replies; 2+ messages in thread
From: Enda @ 2012-07-04 20:18 UTC (permalink / raw)
To: help-gnu-emacs@gnu.org
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
The following does not disable font-lock-mode (which I want it to) I think because global-font-lock-mode is set (which I want it to be):
# Local Variables:
# eval: (org-mode)
# eval: (font-lock-mode -1)
# End:
How do I disable font-lock-mode in one file without disabling it globally.
- Enda
[-- Attachment #2: Type: text/html, Size: 1250 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: eval: (font-lock-mode -1) not working
[not found] <mailman.4054.1341433105.855.help-gnu-emacs@gnu.org>
@ 2012-07-04 20:40 ` Sven Joachim
0 siblings, 0 replies; 2+ messages in thread
From: Sven Joachim @ 2012-07-04 20:40 UTC (permalink / raw)
To: help-gnu-emacs
On 2012-07-04 22:18 +0200, Enda wrote:
> The following does not disable font-lock-mode (which I want it to) I
> think because global-font-lock-mode is set (which I want it to be):
>
> # Local Variables:
> # eval: (org-mode)
> # eval: (font-lock-mode -1)
> # End:
This works fine for me in Emacs 24.1, but not in 23.4.
> How do I disable font-lock-mode in one file without disabling it globally.
Consider upgrading to Emacs 24.
Cheers,
Sven
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-07-04 20:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.4054.1341433105.855.help-gnu-emacs@gnu.org>
2012-07-04 20:40 ` eval: (font-lock-mode -1) not working Sven Joachim
2012-07-04 20:18 Enda
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.