Mercurial > emacs
diff lisp/vc.el @ 5871:49029e28ed2c
(vc-comment-to-change-log): Load add-log before binding
add-log-current-defun-function.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Wed, 09 Feb 1994 23:02:28 +0000 |
parents | d97df1629181 |
children | 0b529dfd88c3 |
line wrap: on
line diff
--- a/lisp/vc.el Wed Feb 09 22:32:39 1994 +0000 +++ b/lisp/vc.el Wed Feb 09 23:02:28 1994 +0000 @@ -617,6 +617,9 @@ (interactive (if current-prefix-arg (list current-prefix-arg (prompt-for-change-log-name)))) + ;; Make sure the defvar for add-log-current-defun-function has been executed + ;; before binding it. + (require 'add-log) (let (;; Extract the comment first so we get any error before doing anything. (comment (ring-ref vc-comment-ring 0)) ;; Don't let add-change-log-entry insert a defun name.