[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can I turn on some minor mode on specific files?
From: |
Hongxu Chen |
Subject: |
Re: Can I turn on some minor mode on specific files? |
Date: |
Sun, 26 May 2013 22:20:05 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
So in this way I have to add the major-mode explicitly then?
"Pascal J. Bourguignon" <pjb@informatimago.com> writes:
> 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 -*-
--
Regards,
Hongxu Chen