[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#15676: 24.3; visual-line does not activate properly from file header
From: |
Glenn Morris |
Subject: |
bug#15676: 24.3; visual-line does not activate properly from file header |
Date: |
Mon, 21 Oct 2013 15:58:09 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Josh Hunsaker wrote:
> When I add the following line:
>
> -*- visual-line-mode: t -*-
>
> to the top of a file, and open that file in a new buffer, the line
> wrapping does not work.
C-h v visual-line-mode:
Use the command `visual-line-mode' to change this variable.
info emacs:
48.2.4.1 Specifying File Variables
To enable or disable a minor mode in a local variables list, use the
`eval' keyword with a Lisp expression that runs the mode command (*note
Minor Modes::). For example, the following local variables list enables
Eldoc mode (*note Lisp Doc::) by calling `eldoc-mode' with no argument
(calling it with an argument of 1 would do the same), and disables Font
Lock mode (*note Font Lock::) by calling `font-lock-mode' with an
argument of -1.
;; Local Variables:
;; eval: (eldoc-mode)
;; eval: (font-lock-mode -1)
;; End: