From b4c79e7b015f149d170a39eb4e0b9acd8d0ef030 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Tue, 30 Dec 2008 13:25:52 +0000 Subject: [PATCH] * follow.el (follow-calc-win-end): Use with-selected-window. (follow-windows-start-end, follow-pos-visible) (follow-windows-aligned-p): Code cleanup. (follow-select-if-visible): Try to avoid partially-visible lines. (follow-select-if-visible-from-first): Call follow-redisplay and move point to destination. (follow-redisplay): New arg, to keep selected window unchanged. (follow-post-command-hook): In final check for destination visibility, use window-start and window-end instead of the less accurate follow-pos-visible. If the selected window is redrawn, tell follow-redisplay to preserve it. --- lisp/ChangeLog | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 99af68ff07c..69fcc63b727 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,18 @@ +2008-12-30 Chong Yidong + + * follow.el (follow-calc-win-end): Use with-selected-window. + (follow-windows-start-end, follow-pos-visible) + (follow-windows-aligned-p): Code cleanup. + (follow-select-if-visible): Try to avoid partially-visible lines. + (follow-select-if-visible-from-first): Call follow-redisplay and + move point to destination. + (follow-redisplay): New arg, to keep selected window unchanged. + (follow-post-command-hook): In final check for destination + visibility, use window-start and window-end instead of the less + accurate follow-pos-visible. If the selected window is redrawn, + tell follow-redisplay to preserve it. + + 2008-12-30 Andreas Schwab * server.el (server-running-p): Remove interactive spec. Fix -- 2.39.2