[Top][All Lists]

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

bug#16591: closed (Re: bug#16591: -*-mode1-*- -*mode2-*-)

From: Rüdiger Sonderfeld
Subject: bug#16591: closed (Re: bug#16591: -*-mode1-*- -*mode2-*-)
Date: Thu, 30 Jan 2014 17:38:28 +0100
User-agent: KMail/4.11.3 (Linux/3.11.0-14-generic; KDE/4.11.3; x86_64; ; )

On Thursday 30 January 2014 21:56:20 Dan Jacobson wrote:
> On Thu, Jan 30, 2014 at 02:41:13PM +0100, Rüdiger Sonderfeld wrote:
> > -*- mode:text; mode:flyspell; -*-
> > 
> > But maybe you want to load `flyspell' in the `text-mode-hook' anyway.
> OK people. Kindly document all that. Thanks!

It's what the documentation already says

> You can also use file-local variables to specify buffer-local minor
> modes, by using ‘eval’ specifications.  For example, this first nonblank
> line puts the buffer in Lisp mode and enables Auto-Fill mode:
>      ; -*- mode: Lisp; eval: (auto-fill-mode 1); -*-
> Note, however, that it is usually inappropriate to enable minor modes
> this way, since most minor modes represent individual user preferences.
> If you personally want to use a minor mode for a particular file type,
> it is better to enable the minor mode via a major mode hook (*note Major
> Modes::).

reply via email to

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