diff options
| author | Karl Heuer <kwzh@gnu.org> | 1994-02-09 23:02:28 +0000 |
|---|---|---|
| committer | Karl Heuer <kwzh@gnu.org> | 1994-02-09 23:02:28 +0000 |
| commit | 412082915f0235762c110e40ae2d5b8fa655c795 (patch) | |
| tree | 735c859528e92b2944f41663013333d0a42448bb /lisp/vc.el | |
| parent | f47ed8df080b5fadbf4b56a3679b5145902096ba (diff) | |
| download | emacs-412082915f0235762c110e40ae2d5b8fa655c795.tar.gz | |
(vc-comment-to-change-log): Load add-log before binding
add-log-current-defun-function.
Diffstat (limited to 'lisp/vc.el')
| -rw-r--r-- | lisp/vc.el | 3 |
1 files changed, 3 insertions, 0 deletions
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. |
