[OS X Emacs] Re: How to overwrite global line-wrapping setting for a specific mode?

Piet van Oostrum piet at vanoostrum.org
Sat Oct 8 11:07:06 EDT 2011


Marius Hofert <marius.hofert at math.ethz.ch> writes:

> I really don't get this. I removed everything from Preferences.el and put in:
>
> (setq-default truncate-lines t)
>
> This should set the default to truncated lines (which is more than
> what I want, but let's do this for the moment). When I close and reopen
> Aquamacs, I still get the file(s) in word-wrap. So apparently, my
> settings in Preferences.el are ignored. I also tried "(set-default
> 'truncate-lines t)". Again, files are opened in word wrap.
>

There is more than Preferences.el. There are also customizations that
may have been set. See the Options menu, especially: Auto Word Wrap in Text Modes.

If that is set then that would explain this behaviour, I think.
-- 
Piet van Oostrum <piet at vanoostrum.org>
WWW: http://pietvanoostrum.com/
PGP key: [8DAE142BE17999C4]




More information about the MacOSX-Emacs mailing list