* Automatic opening of auto-fill-mode with latex-mode
@ 2003-08-21 17:45 Arjan Bos
2003-08-21 18:12 ` Lute Kamstra
0 siblings, 1 reply; 2+ messages in thread
From: Arjan Bos @ 2003-08-21 17:45 UTC (permalink / raw)
Hi all,
How can I make sure that auto-fill-mode becomes automatically active
when I open a LaTeX document? Is there some incantation to put into my
.emacs?
M-x all-hail-emacs
TIA
Arjan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Automatic opening of auto-fill-mode with latex-mode
2003-08-21 17:45 Automatic opening of auto-fill-mode with latex-mode Arjan Bos
@ 2003-08-21 18:12 ` Lute Kamstra
0 siblings, 0 replies; 2+ messages in thread
From: Lute Kamstra @ 2003-08-21 18:12 UTC (permalink / raw)
Arjan Bos <Arjan.Bos@icu.nl> writes:
> How can I make sure that auto-fill-mode becomes automatically active
> when I open a LaTeX document? Is there some incantation to put into
> my .emacs?
(add-hook 'latex-mode-hook '(lambda () (auto-fill-mode 1)))
or, in case of AUCTeX:
(add-hook 'LaTeX-mode-hook '(lambda () (auto-fill-mode 1)))
Lute.
--
(spook) => "industrial espionage Comirex Commecen"
(insert-file-contents "~/.signature") => (error "`~/.signature' too rude")
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-08-21 18:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-21 17:45 Automatic opening of auto-fill-mode with latex-mode Arjan Bos
2003-08-21 18:12 ` Lute Kamstra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).