[gnus git] branch master updated: m0-3-125-g5876d5e =1= (gnus-auto-center-summary): Set default to respect `scroll-margin'.

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


- Log -----------------------------------------------------------------
commit 5876d5ee91ca6d7239113ca81f483ab872e111c7
Author: Philipp Haselwarter <[email protected]>
Date:   Tue Apr 10 21:28:42 2012 +0200

    (gnus-auto-center-summary): Set default to respect `scroll-margin'.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 81d6498..024da9f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2012-04-10  Philipp Haselwarter  <[email protected]>  (tiny change)
+
+	* gnus-sum.el (gnus-auto-center-summary): Set default to respect
+	`scroll-margin'.
+
 2012-04-10  Elias Oltmanns  <[email protected]>  (tiny change)
 
 	* gnus-cite.el (gnus-dissect-cited-text): A single line without
diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el
index b37562d..51cdcaa 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 2
+(defcustom gnus-auto-center-summary (max 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.