[OS X Emacs] turn-on-auto-fill not working

David Reitter david.reitter at gmail.com
Fri Feb 27 12:19:36 EST 2009

Hi Patrick,

On 26 Feb 2009, at 17:24, Patrick May wrote:

> 	I just upgraded to 1.7 and it appears that turn-on-auto-fill isn't  
> working.  I have the following lines in my .emacs:
> ;; default to text mode
> (setq default-major-mode 'text-mode)
> ;; set word wrap in text mode
> (add-hook 'text-mode-hook 'turn-on-auto-fill)
> (set-fill-column 72)

Settings in ~/.emacs may be overwritten by customization settings  
defined in Emacs; `text-mode-hook' is one of these customization  
settings.  The difference in Aquamacs vs. Emacs is that Aquamacs saves  
customization settings not at the end of ~/.emacs where they are in  
plain sight, but in a file called customizations.el.

You can either change text-mode-hook through the customization  
interface, or simply move your code to the Preferences.el file, which  
is designed to contain your own Lisp code settings.  These will  
override the customizations.

I hope this helps.

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...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2193 bytes
Desc: not available
URL: <http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090227/8ec78e32/attachment.p7s>

More information about the MacOSX-Emacs mailing list