[gnus git] branch no-gnus updated: m0-1-66-ga52a4b0 =1= Further `read-string' fixups when inserting old articles

Lars Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  a52a4b030e9963e587ceb482297fa08b44a35be1 (commit)
      from  35d8e6941878312c4d8014c4041e9ea830b7dfc8 (commit)


- Log -----------------------------------------------------------------
commit a52a4b030e9963e587ceb482297fa08b44a35be1
Author: Lars Ingebrigtsen <[email protected]>
Date:   Mon Feb 20 10:28:46 2012 +0100

    Further `read-string' fixups when inserting old articles
    
    * gnus-sum.el (gnus-summary-insert-old-articles): Fix the syntax for
    the default in `read-string' (bug#10757).

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8d3a26a..ee98698 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
 2012-02-20  Lars Ingebrigtsen  <[email protected]>
 
+	* gnus-sum.el (gnus-summary-insert-old-articles): Fix the syntax for
+	the default in `read-string' (bug#10757).
+
 	* gnus-msg.el (gnus-group-post-news): Don't bug out on `C-u a' on
 	topics (bug#10843).
 
diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el
index 8ae8d0b..9770b8f 100644
--- a/lisp/gnus-sum.el
+++ b/lisp/gnus-sum.el
@@ -12860,9 +12860,8 @@ If ALL is a number, fetch this number of articles."
 			(if initial "max" "default")
 			len)
 		       nil nil
-		       (if initial
-			   (cons (number-to-string initial)
-				 0)))))
+		       (and initial
+			    (number-to-string initial)))))
 		(unless (string-match "^[ \t]*$" input)
 		  (setq all (string-to-number input))
 		  (if (< all len)

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog   |    3 +++
 lisp/gnus-sum.el |    5 ++---
 2 files changed, 5 insertions(+), 3 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, no-gnus has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.