[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16591: closed (Re: bug#16591: -*-mode1-*- -*mode2-*-)
From: |
Glenn Morris |
Subject: |
bug#16591: closed (Re: bug#16591: -*-mode1-*- -*mode2-*-) |
Date: |
Thu, 30 Jan 2014 12:03:24 -0500 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Rüdiger Sonderfeld wrote:
>> > -*- mode:text; mode:flyspell; -*-
[...]
> It's what the documentation already says
Not exactly, since use of "mode" to enable minor-modes is deprecated.
The docs says to use "eval".
>> 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); -*-
bug#16591: closed (Re: bug#16591: -*-mode1-*- -*mode2-*-), Dan Jacobson, 2014/01/30