+2009-11-30 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * lpath.el: Fbind recenter-top-bottom for Emacs 21, 22, and (S)XEmacs.
+
+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-26 Kevin Ryde <user42@zip.com.au>
* sha1.el (sha1-string-external): default-directory "/" in case
(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.
(maybe-fbind
'(Info-index
Info-index-next Info-menu bbdb-complete-name display-time-event-handler
- epg-check-configuration find-coding-system frame-device w3-do-setup
- rmail-swap-buffers-maybe w3-prepare-buffer w3-region w32-focus-frame
- w3m-detect-meta-charset w3m-region))
+ epg-check-configuration find-coding-system frame-device
+ recenter-top-bottom rmail-swap-buffers-maybe w3-do-setup
+ w3-prepare-buffer w3-region w32-focus-frame w3m-detect-meta-charset
+ w3m-region))
(maybe-bind
'(w3m-link-map)))
mail-abbrevs-setup make-mode-line-mouse-map make-network-process
mouse-minibuffer-check mouse-movement-p mouse-scroll-subr
pgg-display-output-buffer posn-point posn-window put-image read-event
- rmail-msg-restore-non-pruned-header rmail-swap-buffers-maybe
- select-safe-coding-system sort-coding-systems track-mouse ucs-to-char
- url-generic-parse-url url-http-file-exists-p url-insert-file-contents
- vcard-pretty-print w3m-detect-meta-charset w3m-region window-edges))
+ recenter-top-bottom rmail-msg-restore-non-pruned-header
+ rmail-swap-buffers-maybe select-safe-coding-system sort-coding-systems
+ track-mouse ucs-to-char url-generic-parse-url url-http-file-exists-p
+ url-insert-file-contents vcard-pretty-print w3m-detect-meta-charset
+ w3m-region window-edges))
(maybe-bind
'(adaptive-fill-first-line-regexp
buffer-display-table cursor-in-non-selected-windows