Changes committed gnus/lisp (ChangeLog nnfolder.el)

"Reiner Steib" <[email protected]> Sun, 11 Jan 2009 14:43:07 +0100
Newsgroups gmane.emacs.gnus.commits
Message-ID <[email protected]>
Modified: ChangeLog nnfolder.el

(nnfolder-read-folder): The (lsh -1 -1) trick to generate the greatest
positive fixnum value doesn't work under an XEmacs with bignum support; use
the most-positive-fixnum constant instead, available since Emacs 21.1 with cl
and XEmacs 21.1.


Index: ChangeLog
diff -u gnus/lisp/ChangeLog:7.1975 gnus/lisp/ChangeLog:7.1976
--- ChangeLog:7.1975	Fri Jan  9 04:17:35 2009
+++ ChangeLog	Sun Jan 11 14:43:07 2009
@@ -1,3 +1,10 @@
+2009-01-11  Aidan Kehoe  <[email protected]>
+
+	* nnfolder.el (nnfolder-read-folder): The (lsh -1 -1) trick to generate
+	the greatest positive fixnum value doesn't work under an XEmacs with
+	bignum support; use the most-positive-fixnum constant instead,
+	available since Emacs 21.1 with cl and XEmacs 21.1.
+
 2009-01-09  Katsumi Yamaoka  <[email protected]>
 
 	* mm-util.el (mm-coding-system-priorities): Allow the value like
Index: nnfolder.el
diff -u gnus/lisp/nnfolder.el:7.27 gnus/lisp/nnfolder.el:7.28
--- nnfolder.el:7.27	Fri Oct  3 03:52:25 2008
+++ nnfolder.el	Sun Jan 11 14:43:07 2009
@@ -1,7 +1,7 @@
 ;;; nnfolder.el --- mail folder access for Gnus
 
 ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-;;   2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+;;   2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
 
 ;; Author: Simon Josefsson <[email protected]> (adding MARKS)
 ;;      ShengHuo Zhu <[email protected]> (adding NOV)
@@ -925,7 +925,7 @@
 	      (active (or (cadr (assoc group nnfolder-group-alist))
 			  (cons 1 0)))
 	      (scantime (assoc group nnfolder-scantime-alist))
-	      (minid (lsh -1 -1))
+	      (minid most-positive-fixnum)
 	      maxid start end newscantime
 	      novbuf articles newnum
 	      buffer-read-only)