I want to disable font-lock-mode using Local Variables, and the obvious way does not work. - Enda ________________________________ From: Drew Adams To: 'Enda' ; help-gnu-emacs@gnu.org Sent: Monday, July 9, 2012 9:23 PM Subject: RE: How to turn off font-lock-mode with a local variable > 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? >     > 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: See the Emacs manual, node `Font Lock'.