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

Marius Hofert marius.hofert at math.ethz.ch
Thu Oct 6 16:21:49 EDT 2011


Dear experts,

I work with Aquamacs Distribution 3.xdev on Mac OS X 10.7.1. I use "(global-visual-line-mode 1)" in Preferences.el to set the default to "word wrap" in documents. How can I "locally" overwrite this by "truncate" in R mode? So whenever an .R file is open, it should wrap lines with the option "truncate" rather than "word wrap".

Cheers,

Marius





More information about the MacOSX-Emacs mailing list