[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hi
From: |
Alexander Koptelov |
Subject: |
Re: hi |
Date: |
06 Jun 2002 14:20:02 +0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
You should add simething like the following in your .emacs file.
(add-hook 'c-mode-hook
(lambda ()
(unless (and
(buffer-file-name)
(file-exists-p (buffer-file-name)))
(insert "/*\n"
" * author: Vikas\n"
" * mailto:vvikas@cse.Buffalo.EDU\n"
" */\n"))))
This is for C-files.
If you're using cperl-mode to edit perl files, add almost the same text for
the cperl-mode-hook instead of c-mode-hook (of course, you should use proper
comments =)
HTH
--
Alexander Koptelov
Institute for System Programming, Russian Academy of Sciences
e-mail: steve@ispras.ru
icq: 36208499
- hi, Vikas, 2002/06/06
- Re: hi,
Alexander Koptelov <=