+2001-01-15 Keiichi Suzuki <keiichi@mdcnet.co.jp>
+
+ * lisp/gnus-bbdb.el (gnus-bbdb/update-record): Save excursion
+ while `bbdb-annotate-message-sender' is being done.
+
2001-01-14 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/gnus-art.el (gnus-treatment-function-alist): Use backquote.
;;;###autoload
(defun gnus-bbdb/update-record (&optional offer-to-create)
- "returns the record corresponding to the current GNUS message, creating
-or modifying it as necessary. A record will be created if
+ "returns the record corresponding to the current GNUS message, creating
+or modifying it as necessary. A record will be created if
bbdb/news-auto-create-p is non-nil, or if OFFER-TO-CREATE is true and
the user confirms the creation."
(if bbdb-use-pop-up
(gnus-bbdb/extract-address-components
(gnus-bbdb/decode-field-body to 'To))))))
(when from
- (bbdb-annotate-message-sender from t
- (or (bbdb-invoke-hook-for-value
- bbdb/news-auto-create-p)
- offer-to-create)
- offer-to-create)))))
+ (save-excursion
+ (bbdb-annotate-message-sender from t
+ (or (bbdb-invoke-hook-for-value
+ bbdb/news-auto-create-p)
+ offer-to-create)
+ offer-to-create))))))
;;;###autoload
(defun gnus-bbdb/annotate-sender (string &optional replace)