all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.