(follow-calc-win-end): Use with-selected-window.
commitaa38262d8bf145b26836816f605b189f0b28705c
authorChong Yidong <cyd@stupidchicken.com>
Tue, 30 Dec 2008 13:26:23 +0000 (30 13:26 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Tue, 30 Dec 2008 13:26:23 +0000 (30 13:26 +0000)
tree41cc51011df488efcd29df6f02a8277ba19b21aa
parentb88f3798db290baad004ca1c419e5687be9c7ce1
(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/follow.el