Mercurial > emacs
changeset 2493:3af65d9b91e7
(vc-comment-to-change-log): Merged in the remainder of jimb's last
change.
author | Eric S. Raymond <esr@snark.thyrsus.com> |
---|---|
date | Thu, 08 Apr 1993 16:51:04 +0000 |
parents | de8b66eb78cf |
children | c0fbbfadcb04 |
files | lisp/vc.el |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/vc.el Thu Apr 08 16:35:59 1993 +0000 +++ b/lisp/vc.el Thu Apr 08 16:51:04 1993 +0000 @@ -532,8 +532,11 @@ ;;; Here is a checkin hook that may prove useful to sites using the ;;; ChangeLog facility supported by Emacs. -(defun vc-comment-to-change-log () - (let ((log (find-change-log))) +(defun vc-comment-to-change-log (&optional file) + "Update change log from comments entered into VC for the current file. +Optional FILE specifies the change log file name; see `find-change-log'. +See `vc-update-change-log'." + (let ((log (find-change-log file))) (if log (let ((default-directory (or (file-name-directory log) default-directory)))