# HG changeset patch # User Chong Yidong # Date 1230643552 0 # Node ID 20014579730d76f99a11c82eb70aa44a96b8086c # Parent c2a05360a02fd1b4d0c7fe304e1c603ea22069a2 * 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. diff -r c2a05360a02f -r 20014579730d lisp/ChangeLog --- a/lisp/ChangeLog Tue Dec 30 11:28:14 2008 +0000 +++ b/lisp/ChangeLog Tue Dec 30 13:25:52 2008 +0000 @@ -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