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

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

Re: How to specify minor modes via -*- ?


From: Leonardo Boiko
Subject: Re: How to specify minor modes via -*- ?
Date: Tue, 23 Nov 2004 13:12:29 -0400
User-agent: Mozilla Thunderbird 0.8 (X11/20040913)

kj wrote:
I can set a file's major mode by including the line

-*- mode: whatever -*-

at the top of the file.  How can I specify the minor modes?

From C-h i:

> You can use the `mode' "variable" to set minor modes as well as
> major modes; in fact, you can use it more than once, first to set the
> major mode and then to set minor modes which are specific to
> particular buffers.  But most minor modes should not be specified in
> the file in any fashion, because they represent user preferences.

--
Leonardo Boiko




reply via email to

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