Date: Fri, 09 May 2003 17:12:30 +0200 From: Dag-Erling Smorgrav <des@ofug.org> To: bmah@acm.org Cc: cvs-src@FreeBSD.org Subject: Re: cvs commit: src/release/doc/en_US.ISO8859-1/relnotes/common new.sgml Message-ID: <xzpbryc9msh.fsf@flood.ping.uio.no> In-Reply-To: <200305091457.h49Evlrh006979@bmah.dyndns.org> (Bruce A. Mah's message of "Fri, 09 May 2003 07:57:47 -0700") References: <200305082109.h48L9deO082933@repoman.freebsd.org> <200305082120.h48LKExV017697@bmah.dyndns.org> <xzpy91g9znn.fsf@flood.ping.uio.no> <200305091457.h49Evlrh006979@bmah.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
bmah@acm.org (Bruce A. Mah) writes:
> Anyways...I think I figured it out (at least for GNU Emacs 21.3). Add
> this to ~/.emacs:
>
> (add-hook 'vc-log-mode-hook '(lambda() (if (= (buffer-size) 0) (insert "
> PR:
> Approved by:
> Reviewed by:
> "))))
almost-but-not-quite-off-the-top-of-my-head:
(defvar vc-cvs-template-file "CVS/Template")
(defun vc-cvs-insert-template ()
(if (file-exists-p vc-cvs-template-file)
(insert-file vc-cvs-template-file)))
(add-hook 'vc-log-mode-hook 'vc-cvs-insert-template)
and make sure to use -T when checking out or updating - this might
help:
(setq vc-checkout-switches "-T")
DES
--
Dag-Erling Smorgrav - des@ofug.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpbryc9msh.fsf>
