]> git.eshelyaron.com Git - emacs.git/commitdiff
(vc-update-change-log): Use add-log-full-name and
authorKarl Heuer <kwzh@gnu.org>
Mon, 8 Jan 1996 22:24:05 +0000 (22:24 +0000)
committerKarl Heuer <kwzh@gnu.org>
Mon, 8 Jan 1996 22:24:05 +0000 (22:24 +0000)
add-log-mailing-address if they are defined.

lisp/vc.el

index e71dd51cef69e9a7c017b55e63660a27cfd66e5b..386b62abe352d8ff2dbc798fef2eef737326535d 100644 (file)
@@ -1761,7 +1761,13 @@ From a program, any arguments are passed to the `rcs2log' script."
                                (substring f 0 (match-end 1))
                              f)))
                         (directory-files RCS nil "...\\|^[^.]\\|^.[^.]")))))))
-  (let ((odefault default-directory))
+  (let ((odefault default-directory)
+       (full-name (if (boundp 'add-log-full-name)
+                      add-log-full-name
+                    (user-full-name)))
+       (mailing-address (if (boundp 'add-log-mailing-address)
+                            add-log-mailing-address
+                          user-mail-address)))
     (find-file-other-window (find-change-log))
     (barf-if-buffer-read-only)
     (vc-buffer-sync)
@@ -1775,9 +1781,9 @@ From a program, any arguments are passed to the `rcs2log' script."
                                  "-u"
                                  (concat (user-login-name)
                                          "\t"
-                                         (user-full-name)
+                                         full-name
                                          "\t"
-                                         user-mail-address)
+                                         mailing-address)
                                  (mapcar (function
                                           (lambda (f)
                                             (file-relative-name