[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#1122: say how to turn OFF auto-fill with local variables
From: |
Glenn Morris |
Subject: |
bug#1122: say how to turn OFF auto-fill with local variables |
Date: |
Tue, 21 Feb 2012 19:59:59 -0500 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
The manual says:
Next, suppose you don't want Auto Fill mode turned on in LaTeX mode,
which is one of the modes based on Text mode. You can do this with the
following additional line:
(add-hook 'latex-mode-hook (lambda () (auto-fill-mode -1)))
and
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); -*-
That covers everything that needs to be covered.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#1122: say how to turn OFF auto-fill with local variables,
Glenn Morris <=