From bb0a0b7d589337eddbdeb9547fa44231003c0c3a Mon Sep 17 00:00:00 2001 From: yamaoka Date: Fri, 30 Oct 1998 11:03:47 +0000 Subject: [PATCH] (gnus-bbdb/update-record): Bug fix. --- lisp/gnus-bbdb.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 1.7.10.4