[gnus git] branch master updated: m0-3-126-g809ae21 =1= (gnus-auto-center-summary): `scroll-margin' isn't defined on XEmacs.

Lars Magne Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  809ae21f3b67b84d6d9028a7443d2d7d87a532a2 (commit)
      from  5876d5ee91ca6d7239113ca81f483ab872e111c7 (commit)


- Log -----------------------------------------------------------------
commit 809ae21f3b67b84d6d9028a7443d2d7d87a532a2
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Tue Apr 10 21:39:19 2012 +0200

    (gnus-auto-center-summary): `scroll-margin' isn't defined on XEmacs.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 024da9f..162a5b7 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2012-04-10  Lars Magne Ingebrigtsen  <[email protected]>
+
+	* gnus-sum.el (gnus-auto-center-summary): `scroll-margin' isn't defined
+	on XEmacs.
+
 2012-04-10  Philipp Haselwarter  <[email protected]>  (tiny change)
 
 	* gnus-sum.el (gnus-auto-center-summary): Set default to respect
diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el
index 51cdcaa..2352d78 100644
--- a/lisp/gnus-sum.el
+++ b/lisp/gnus-sum.el
@@ -451,7 +451,7 @@ current article is unread."
   :group 'gnus-summary-maneuvering
   :type 'boolean)
 
-(defcustom gnus-auto-center-summary (max scroll-margin 2)
+(defcustom gnus-auto-center-summary (max (bound-and-true-p scroll-margin) 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."

-----------------------------------------------------------------------
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   |    5 +++++
 lisp/gnus-sum.el |    2 +-
 2 files changed, 6 insertions(+), 1 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, master 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.