[OS X Emacs] Soft word wrap
Jose Figueroa-O'Farrill
j.m.figueroa at ed.ac.uk
Wed Jul 29 08:20:58 EDT 2009
Enrico> How do I switch on/off via elisp the soft wrap mode only in some modes?
Enrico> For example, I'd like it to be off always in LaTeX mode.
One possibility:
(add-hook 'LaTeX-mode-hook
'(lambda ()
(turn-off-word-wrap)))
Cheers, José
--
Prof José M Figueroa-O'Farrill | Phone: +44 (0) 131 6505066
Maxwell Institute and | Skype: josemiguelfigueroa
School of Mathematics | Web: http://www.maths.ed.ac.uk/~jmf
University of Edinburgh | Blog: http://empg.maths.ed.ac.uk/blog
Edinburgh EH9 3JZ, Scotland, UK | PGP key: 6A6BD529 (MIT PGP keyserver)
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
More information about the MacOSX-Emacs
mailing list