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

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

Re: VC-CVS commit with standard comment


From: Kevin Rodgers
Subject: Re: VC-CVS commit with standard comment
Date: Mon, 22 Feb 2010 21:32:42 -0700
User-agent: Thunderbird 2.0.0.23 (Macintosh/20090812)

Sven Bretfeld wrote:
Vagn Johansen <gonz808@hotmail.com> writes:

Is it possible to set an automatic standard comment when checking in a
version controlled file?

(add-hook 'log-edit-mode-hook '(lambda () (interactive) (insert "new")))

That's almost working. Thanks. The problem is that the second checkin
wants to add the comment "newnew", the third "newnewnew".

(lambda () (erase-buffer) (insert "new"))

--
Kevin Rodgers
Denver, Colorado, USA





reply via email to

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