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

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

Re: automatically insert header


From: Miles Bader
Subject: Re: automatically insert header
Date: Fri, 10 Apr 2009 14:06:11 +0900

luca.pamparana@gmail.com writes:
> Whenever I create a new C++ header or code file, I would like emacs to
> automatically add a standard header to it that I define as a template.
> Can anyone tell me how one can go about doing that?

Check out `auto-insert-mode' and `auto-insert-alist'.

Both may be customized (using M-x customize-variable), I believe...

-Miles

-- 
Optimist, n. A proponent of the doctrine that black is white.


reply via email to

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