when it is fboundp in GNU Emacs 23.1.
Put `isearch-scroll' property on `gnus-recenter'. (Bug#4981)
+2009-11-29 Juri Linkov <juri@jurta.org>
+
+ * gnus-sum.el (gnus-recenter): Use `recenter-top-bottom'
+ when it is fboundp in GNU Emacs 23.1. Put `isearch-scroll' property
+ on `gnus-recenter'. (Bug#4981)
+
2009-11-24 Katsumi Yamaoka <yamaoka@jpl.org>
* message.el (message-from-style, message-interactive)
(when (and gnus-auto-center-summary
(not (eq gnus-auto-center-summary 'vertical)))
(gnus-horizontal-recenter))
- (recenter n))
+ (if (fboundp 'recenter-top-bottom)
+ (recenter-top-bottom n)
+ (recenter n)))
+
+(put 'gnus-recenter 'isearch-scroll t)
(defun gnus-summary-recenter ()
"Center point in the summary window.