+2003-04-12 Morten Welinder <terra@gnu.org>
+
+ * add-log.el (add-change-log-entry): Get add-log-full-name and
+ add-log-mailing-address from the right buffer.
+
2003-04-07 Francesco Potort\e,Al\e(B <pot@gnu.org>
* xt-mouse.el (xterm-mouse-event-read): New function.
(or file-name (find-change-log file-name buffer-file))))
;; Set ENTRY to the file name to use in the new entry.
(entry (add-log-file-name buffer-file file-name))
+ ;; Get copies from this buffer
+ (full-name add-log-full-name)
+ (mailing-address add-log-mailing-address)
bound)
(if (or (and other-window (not (equal file-name buffer-file-name)))
(undo-boundary)
(goto-char (point-min))
(let ((new-entry (concat (funcall add-log-time-format)
- " " add-log-full-name
- " <" add-log-mailing-address ">")))
+ " " full-name
+ " <" mailing-address ">")))
(if (looking-at (regexp-quote new-entry))
(forward-line 1)
(insert new-entry "\n\n")))