changeset 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 ebef92c4d26c
children 6389c826f847
files lisp/vc.el
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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.