[OS X Emacs] Kill hard wrap default on new buffers

Thomas Käufl kaeufl at ira.uka.de
Thu Nov 13 07:30:08 EST 2008


Hi Roland,

Am 13.11.2008 um 08:35 schrieb Roland Whitehead:

> ... How do I turn off Hard Word Wrap for every new buffer without  
> reaching for the Options Menu or meta-key?
> ...

I have the subsequent two commands in my preferences file

(setq text-mode-hook (quote (turn-off-auto-fill)))
(add-hook 'LaTeX-mode-hook 'turn-off-auto-fill)

and the subsequent

(unless (fboundp 'auto-detect-longlines) (defun auto-detect-longlines  
() t))

in my customizations file.

It might be better to put the first two Lisp expressions into
the customizations too.

As far as I remember, I found these customizations in the
Aquamacs help.

Thomas Käufl




More information about the MacOSX-Emacs mailing list