diff options
| author | Richard M. Stallman | 1996-03-22 13:25:21 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-03-22 13:25:21 +0000 |
| commit | b91916f3301efb8946ebed211fff895e51793e24 (patch) | |
| tree | e02cb582eb7e9073bd977cb2d8831d1faeac631f | |
| parent | ad8486a59aa1eb9c77af924982b671ee8463ad63 (diff) | |
| download | emacs-b91916f3301efb8946ebed211fff895e51793e24.tar.gz emacs-b91916f3301efb8946ebed211fff895e51793e24.zip | |
(vc-update-change-log): Use add-log-full-name and
add-log-mailing-address only if non-nil.
| -rw-r--r-- | lisp/vc.el | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lisp/vc.el b/lisp/vc.el index d8605b9fa12..4578d8211e3 100644 --- a/lisp/vc.el +++ b/lisp/vc.el | |||
| @@ -1770,12 +1770,10 @@ From a program, any arguments are passed to the `rcs2log' script." | |||
| 1770 | f))) | 1770 | f))) |
| 1771 | (directory-files RCS nil "...\\|^[^.]\\|^.[^.]"))))))) | 1771 | (directory-files RCS nil "...\\|^[^.]\\|^.[^.]"))))))) |
| 1772 | (let ((odefault default-directory) | 1772 | (let ((odefault default-directory) |
| 1773 | (full-name (if (boundp 'add-log-full-name) | 1773 | (full-name (or add-log-full-name |
| 1774 | add-log-full-name | 1774 | (user-full-name))) |
| 1775 | (user-full-name))) | 1775 | (mailing-address (or add-log-mailing-address |
| 1776 | (mailing-address (if (boundp 'add-log-mailing-address) | 1776 | user-mail-address))) |
| 1777 | add-log-mailing-address | ||
| 1778 | user-mail-address))) | ||
| 1779 | (find-file-other-window (find-change-log)) | 1777 | (find-file-other-window (find-change-log)) |
| 1780 | (barf-if-buffer-read-only) | 1778 | (barf-if-buffer-read-only) |
| 1781 | (vc-buffer-sync) | 1779 | (vc-buffer-sync) |