]> git.eshelyaron.com Git - emacs.git/commitdiff
lisp/gnus/gnus-msg.el (gnus-setup-message): Fix last commit
authorKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 9 Dec 2013 00:35:15 +0000 (00:35 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 9 Dec 2013 00:35:15 +0000 (00:35 +0000)
lisp/gnus/gnus-msg.el

index f5045e9b3cb18b4737383751a6a9e4a9ec9edbc6..87eb6af9e3c060b9f6f08fdb906322b57c70fd2f 100644 (file)
@@ -433,12 +433,14 @@ Thank you for your help in stamping out bugs.
           (,buffer (buffer-name (current-buffer)))
           (,article (if (and (gnus-nnir-group-p gnus-newsgroup-name)
                              gnus-article-reply)
-                        (nnir-article-number (length gnus-article-reply))
+                        (nnir-article-number (or (car-safe gnus-article-reply)
+                                                 gnus-article-reply))
                       gnus-article-reply))
           (,yanked gnus-article-yanked-articles)
           (,group (if (and (gnus-nnir-group-p gnus-newsgroup-name)
                            gnus-article-reply)
-                      (nnir-article-group (length gnus-article-reply))
+                      (nnir-article-group (or (car-safe gnus-article-reply)
+                                              gnus-article-reply))
                     gnus-newsgroup-name))
           (message-header-setup-hook
            (copy-sequence message-header-setup-hook))