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

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

Re: Can I turn on some minor mode on specific files?


From: Pascal J. Bourguignon
Subject: Re: Can I turn on some minor mode on specific files?
Date: Sun, 26 May 2013 15:45:43 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Hongxu Chen <leftcopy.chx@gmail.com> writes:

> But it complains:
>
>   Info-find-file: Info file emacs does not exist
>
> I am runnning on Emacs 24.3.
>
> Also, Pascal's advice is NOT correct since adding `mode' in the modeline
> would change the major mode rather than minor modes, and the right way
> is to append the following:

You should of course put your major mode first, but you can add as many
minor modes you want:

-*- mode:text;mode:hs-minor;mode:flyspell -*-



-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
A bad day in () is better than a good day in {}.
You can take the lisper out of the lisp job, but you can't take the lisp out
of the lisper (; -- antifuchs




reply via email to

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