X-Git-Url: http://cgit.sxemacs.org/?a=blobdiff_plain;f=lisp%2Fgnus-dup.el;h=6bc562b06017016c764ca04d72ac6253bb8296aa;hb=125d88b46ad2efa065f06d5dac37a245b488985a;hp=a2b5544b0dc1f3af01b68675e61ba14a827fa684;hpb=ee4a7be24fb6982b5baa5eafb65178ccaca6df50;p=gnus diff --git a/lisp/gnus-dup.el b/lisp/gnus-dup.el index a2b5544b0..6bc562b06 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)) @@ -162,4 +163,5 @@ seen in the same session." (provide 'gnus-dup) +;;; arch-tag: 903e94db-7b00-4d19-83ee-cf34a81fa5fb ;;; gnus-dup.el ends here