From: yamaoka Date: Fri, 30 Oct 1998 11:03:47 +0000 (+0000) Subject: (gnus-bbdb/update-record): Bug fix. X-Git-Tag: pgnus-ichikawa-199811302358~113 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb0a0b7d589337eddbdeb9547fa44231003c0c3a;p=elisp%2Fgnus.git- (gnus-bbdb/update-record): Bug fix. --- diff --git a/lisp/gnus-bbdb.el b/lisp/gnus-bbdb.el index 4c274ac..1f5f782 100644 --- a/lisp/gnus-bbdb.el +++ b/lisp/gnus-bbdb.el @@ -46,7 +46,8 @@ the user confirms the creation." (error "message unexists")) (- (point) 2))) (let ((to (mail-fetch-field "to"))) - (setq from (mime-decode-field-body to 'To 'unfolding))))) + (when to + (setq from (mime-decode-field-body to 'To 'unfolding)))))) (when from (bbdb-annotate-message-sender from t (or (bbdb-invoke-hook-for-value