Commit 5aa75bd8 authored by Juri Linkov's avatar Juri Linkov
Browse files

* 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)
parent 0116abbd
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)
......
......@@ -6721,7 +6721,11 @@ Also do horizontal recentering."
(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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment