X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Fgnus-dup.el;h=a385d0abf3a0c06746d95db60e448b1d5fad5492;hb=e5ab2b48c63f436bb8222caa5e6aa63df093d1f2;hp=a2b5544b0dc1f3af01b68675e61ba14a827fa684;hpb=55646ddea0f0dd454c3bb1397e68853bc13bb43e;p=elisp%2Fgnus.git- diff --git a/lisp/gnus-dup.el b/lisp/gnus-dup.el index a2b5544..a385d0a 100644 --- a/lisp/gnus-dup.el +++ b/lisp/gnus-dup.el @@ -154,7 +154,8 @@ seen in the same session." (defun gnus-dup-unsuppress-article (article) "Stop suppression of ARTICLE." - (let ((id (mail-header-id (gnus-data-header (gnus-data-find article))))) + (let* ((header (gnus-data-header (gnus-data-find article))) + (id (when header (mail-header-id header)))) (when id (setq gnus-dup-list-dirty t) (setq gnus-dup-list (delete id gnus-dup-list))