help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to turn off font-lock-mode with a local variable


From: Enda
Subject: How to turn off font-lock-mode with a local variable
Date: Mon, 9 Jul 2012 11:48:21 -0700 (PDT)

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:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]