unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to turn off font-lock-mode with a local variable
@ 2012-07-09 18:48 Enda
  2012-07-09 20:23 ` Drew Adams
  0 siblings, 1 reply; 4+ messages in thread
From: Enda @ 2012-07-09 18:48 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

[-- Attachment #1: Type: text/plain, Size: 476 bytes --]

The following when at the end of a file does not turn off font-lock-mode when visiting a file:

;; Local Variables:
;; eval: (lisp-mode)
;; eval: (font-lock-mode -1)
;; End:


How do I turn off font-lock-mode per file then?


Best wishes,

Enda


This doesn't work either (even though I do not want to turn off font-lock globally, just for the file that I am visiting):

;; Local Variables:
;; eval: (lisp-mode)
;; eval: (global-font-lock-mode -1)
;; End:

[-- Attachment #2: Type: text/html, Size: 2065 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-07-09 20:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-09 18:48 How to turn off font-lock-mode with a local variable Enda
2012-07-09 20:23 ` Drew Adams
2012-07-09 20:28   ` Enda
2012-07-09 20:53     ` Drew Adams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).