cvs commit: src/release/doc/en_US.ISO8859-1/relnotes/common new.sgml

Dag-Erling Smorgrav des at ofug.org
Fri May 9 08:12:34 PDT 2003


bmah at 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 at ofug.org


More information about the cvs-all mailing list