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

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

Automatically turn off a default minor mode for a particular file?


From: dnquark
Subject: Automatically turn off a default minor mode for a particular file?
Date: Thu, 16 Jul 2009 01:37:53 -0700 (PDT)
User-agent: G2/1.0

Hi all,
Is there a way to automatically turn off a minor mode (that's enabled
by default) on a per file basis -- through file local variables
perhaps?..

I often work in Matlab and have mlint (automatic syntax checker)
enabled by default -- however, I need it off in certain files (it
screws up, make things unreadable, and sometimes doesn't play well
with the folding mode).  Now, I know you could *enable* a minor mode
through file-local-variables, but is there a way to disable/toggle
it?..
Thanks!


reply via email to

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