Further XEmacs compat fixup of the last change.
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Tue, 10 Apr 2012 19:47:06 +0000 (21:47 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Tue, 10 Apr 2012 19:47:06 +0000 (21:47 +0200)
lisp/gnus-sum.el

index 2352d78..9ce9142 100644 (file)
@@ -451,7 +451,8 @@ current article is unread."
   :group 'gnus-summary-maneuvering
   :type 'boolean)
 
-(defcustom gnus-auto-center-summary (max (bound-and-true-p scroll-margin) 2)
+(defcustom gnus-auto-center-summary 
+  (max (or (bound-and-true-p scroll-margin) 0) 2)
   "*If non-nil, always center the current summary buffer.
 In particular, if `vertical' do only vertical recentering.  If non-nil
 and non-`vertical', do both horizontal and vertical recentering."