gnus-msg.el (gnus-setup-message): Fix last commit
[gnus] / lisp / gnus-msg.el
index f5045e9..87eb6af 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)
           (,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)
                       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))
                     gnus-newsgroup-name))
           (message-header-setup-hook
            (copy-sequence message-header-setup-hook))