[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Insert headers in new file
From: |
Franck Joncourt |
Subject: |
Insert headers in new file |
Date: |
Tue, 22 May 2007 22:13:53 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Hi,
I am trying to include header in the new files I open with emacs, and I
would like to know what is the best way to do it.
I am currently using auto-insert, so here is a part of my .emacs
configuration file :
(add-hook 'find-file-hooks 'auto-insert)
(load-library "autoinsert")
(setq auto-insert-directory "~/emacs/")
(setq auto-insert-alist
(append '((c-mode . "cc-insert.c"))
auto-insert-alist))
This is just a start, but it works fine.
Is there is better way to do it ?
Thanks for any help.
--
Franck Joncourt
http://www.debian.org - http://smhteam.info/wiki/
GPG server : pgpkeys.mit.edu
Fingerprint : C10E D1D0 EF70 0A2A CACF 9A3C C490 534E 75C0 89FE
signature.asc
Description: Digital signature
- Insert headers in new file,
Franck Joncourt <=