[OS X Emacs] word wrap in latex mode
robert.primmer at gmail.com
Mon Nov 19 08:56:31 EST 2012
I've enabled soft word wrap by default - here's the entry from
'(auto-word-wrap-default-function (quote set-word-wrap))
which works great for text mode. However, I cannot find a way to enable it
by default for latex mode. Searching online I've found articles that
indicate different ways to achieve this. I've listed the 3 below that I've
found most often.
(add-hook 'latex-mode-hook 'turn-on-word-wrap)
(defun turn-on-word-wrap () (setq word-wrap t)))
(defun auto-word-wrap-default-function () (setq turn-on-word-wrap
I've tried each of these, but none seem to enable soft word wrap by default
when opening a .tex file.
Thanks for any pointers!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the MacOSX-Emacs