Make gnus-summary-insert-old-articles prompting consistent
[gnus] / lisp / gnus-sum.el
index 6fff60f..63482ee 100644 (file)
@@ -11581,7 +11581,9 @@ Returns nil if no thread was there to be shown."
         (beg (progn (beginning-of-line) (if (bobp) (point) (1- (point)))))
         (eoi (when end
                (if (fboundp 'next-single-char-property-change)
-                   (next-single-char-property-change end 'invisible)
+                   ;; Note: XEmacs version of n-s-c-p-c may return nil
+                   (or (next-single-char-property-change end 'invisible)
+                       (point-max))
                  (while (progn
                           (end-of-line 2)
                           (and (not (eobp))
@@ -12854,6 +12856,7 @@ If ALL is a number, fetch this number of articles."
                        (gnus-group-decoded-name gnus-newsgroup-name)
                        (if initial "max" "default")
                        len)
+                      nil nil
                       (if initial
                           (cons (number-to-string initial)
                                 0)))))