From: Karl Heuer Date: Wed, 9 Feb 1994 23:02:28 +0000 (+0000) Subject: (vc-comment-to-change-log): Load add-log before binding X-Git-Tag: emacs-19.34~9980 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=412082915f0235762c110e40ae2d5b8fa655c795;p=emacs.git (vc-comment-to-change-log): Load add-log before binding add-log-current-defun-function. --- diff --git a/lisp/vc.el b/lisp/vc.el index 59054fa1826..896e126d178 100644 --- a/lisp/vc.el +++ b/lisp/vc.el @@ -617,6 +617,9 @@ If nil, uses `change-log-default-name'." (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.