help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Key binding? in Auctex (LaTex-mode)


From: Eric Abrahamsen
Subject: Re: Key binding? in Auctex (LaTex-mode)
Date: Tue, 23 Aug 2011 14:19:23 +0800
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux)

On Tue, Aug 23 2011, spinner wrote:

> I want to regularly insert the following code into documents that I write in
> LaTex-mode via Auctex:
>
> %%% Local Variables:
> %%% mode: LaTeX
> %%% TeX-master: t
> %%% End: 
>
> Since I need to do this regularly, I want to do this with something like key
> binding. But I don't know if what I want to do is key binding (like C-c
> C-f), a macro, or something else.

Section 6 of the Autotyping manual shows how to automatically insert
template-like text in empty files based on major mode or file name.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]