all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

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.