Monday, August 9, 2010

[Emacs] Turn off the automatic break of long lines


This feature is called 'hard-wrap'.

In the usual emacs, add
(auto-fill-mode 0)
to your '~/.emacs'.

In the Aquamacs on OS X, add
(remove-hook 'text-mode-hook 'auto-detect-wrap)
to your '~/Library/Preferences/Aquamacs Emacs/Preferences.el'.

Ref) http://lists.aquamacs.org/pipermail/aquamacs-devel/2009-January/001823.html