Mercurial > emacs
changeset 100768:20014579730d
* 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.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Tue, 30 Dec 2008 13:25:52 +0000 |
parents | c2a05360a02f |
children | 3e7e498772cb |
files | lisp/ChangeLog |
diffstat | 1 files changed, 15 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 <cyd@stupidchicken.com> + + * 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 <schwab@suse.de> * server.el (server-running-p): Remove interactive spec. Fix