diff options
| author | Karl Heuer | 1996-01-08 22:24:05 +0000 |
|---|---|---|
| committer | Karl Heuer | 1996-01-08 22:24:05 +0000 |
| commit | 449decf581c0092e3048c9529dbe747b8b1619d3 (patch) | |
| tree | eeca36b8d1089df012e87a8bb4edd79ed34366ed | |
| parent | f768c9cdc9405f1a487fa4c2f3b67c2a1ab623d5 (diff) | |
| download | emacs-449decf581c0092e3048c9529dbe747b8b1619d3.tar.gz emacs-449decf581c0092e3048c9529dbe747b8b1619d3.zip | |
(vc-update-change-log): Use add-log-full-name and
add-log-mailing-address if they are defined.
| -rw-r--r-- | lisp/vc.el | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lisp/vc.el b/lisp/vc.el index e71dd51cef6..386b62abe35 100644 --- a/lisp/vc.el +++ b/lisp/vc.el | |||
| @@ -1761,7 +1761,13 @@ From a program, any arguments are passed to the `rcs2log' script." | |||
| 1761 | (substring f 0 (match-end 1)) | 1761 | (substring f 0 (match-end 1)) |
| 1762 | f))) | 1762 | f))) |
| 1763 | (directory-files RCS nil "...\\|^[^.]\\|^.[^.]"))))))) | 1763 | (directory-files RCS nil "...\\|^[^.]\\|^.[^.]"))))))) |
| 1764 | (let ((odefault default-directory)) | 1764 | (let ((odefault default-directory) |
| 1765 | (full-name (if (boundp 'add-log-full-name) | ||
| 1766 | add-log-full-name | ||
| 1767 | (user-full-name))) | ||
| 1768 | (mailing-address (if (boundp 'add-log-mailing-address) | ||
| 1769 | add-log-mailing-address | ||
| 1770 | user-mail-address))) | ||
| 1765 | (find-file-other-window (find-change-log)) | 1771 | (find-file-other-window (find-change-log)) |
| 1766 | (barf-if-buffer-read-only) | 1772 | (barf-if-buffer-read-only) |
| 1767 | (vc-buffer-sync) | 1773 | (vc-buffer-sync) |
| @@ -1775,9 +1781,9 @@ From a program, any arguments are passed to the `rcs2log' script." | |||
| 1775 | "-u" | 1781 | "-u" |
| 1776 | (concat (user-login-name) | 1782 | (concat (user-login-name) |
| 1777 | "\t" | 1783 | "\t" |
| 1778 | (user-full-name) | 1784 | full-name |
| 1779 | "\t" | 1785 | "\t" |
| 1780 | user-mail-address) | 1786 | mailing-address) |
| 1781 | (mapcar (function | 1787 | (mapcar (function |
| 1782 | (lambda (f) | 1788 | (lambda (f) |
| 1783 | (file-relative-name | 1789 | (file-relative-name |