[OS X Emacs] Kill hard wrap default on new buffers
david.reitter at gmail.com
Thu Nov 13 08:07:46 EST 2008
On 13 Nov 2008, at 02:35, Roland Whitehead wrote:
> I have asked this before but still don't have a solution. I wish to
> have new buffers defaulted to not hard wrap long lines. My
> investigations into long lines mode and so forth have got me no
> where and I keep messing up documents by failing to turn off hard
> wrap. How do I turn off Hard Word Wrap for every new buffer without
> reaching for the Options Menu or meta-key?
Easy, because there's a customization variable.
(setq auto-word-wrap-default-function 'turn-on-word-wrap)
in your Preferences.el, or you use a customization buffer to set this
The other solution posted will work, but it will not turn on soft word
wrap, and it disables Aquamacs' ability to recognize files that should
have auto-fill enabled.
http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
http://aquamacs.org/donate -- Could we help you? Return the favor and
support the Aquamacs Project!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2193 bytes
Desc: not available
Url : http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20081113/6b7a87cb/smime.bin
More information about the MacOSX-Emacs