]> git.eshelyaron.com Git - emacs.git/commitdiff
(vc-update-change-log): Use add-log-full-name and
authorRichard M. Stallman <rms@gnu.org>
Fri, 22 Mar 1996 13:25:21 +0000 (13:25 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 22 Mar 1996 13:25:21 +0000 (13:25 +0000)
add-log-mailing-address only if non-nil.

lisp/vc.el

index d8605b9fa12ef52e132543240da1d19544c9b50c..4578d8211e3932b6e4b7a5b707e94e2bffea3c27 100644 (file)
@@ -1770,12 +1770,10 @@ From a program, any arguments are passed to the `rcs2log' script."
                              f)))
                         (directory-files RCS nil "...\\|^[^.]\\|^.[^.]")))))))
   (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)))
+       (full-name (or add-log-full-name
+                      (user-full-name)))
+       (mailing-address (or add-log-mailing-address
+                            user-mail-address)))
     (find-file-other-window (find-change-log))
     (barf-if-buffer-read-only)
     (vc-buffer-sync)