aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2008-12-30 13:25:52 +0000
committerChong Yidong2008-12-30 13:25:52 +0000
commitb4c79e7b015f149d170a39eb4e0b9acd8d0ef030 (patch)
treed8f6c7895e2dd5f686b9e38c667f4a320d89a225
parentd9569a55d8301cc67f760db82ae41b4469ab1871 (diff)
downloademacs-b4c79e7b015f149d170a39eb4e0b9acd8d0ef030.tar.gz
emacs-b4c79e7b015f149d170a39eb4e0b9acd8d0ef030.zip
* 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.
-rw-r--r--lisp/ChangeLog15
1 files changed, 15 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 99af68ff07c..69fcc63b727 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,18 @@
12008-12-30 Chong Yidong <cyd@stupidchicken.com>
2
3 * follow.el (follow-calc-win-end): Use with-selected-window.
4 (follow-windows-start-end, follow-pos-visible)
5 (follow-windows-aligned-p): Code cleanup.
6 (follow-select-if-visible): Try to avoid partially-visible lines.
7 (follow-select-if-visible-from-first): Call follow-redisplay and
8 move point to destination.
9 (follow-redisplay): New arg, to keep selected window unchanged.
10 (follow-post-command-hook): In final check for destination
11 visibility, use window-start and window-end instead of the less
12 accurate follow-pos-visible. If the selected window is redrawn,
13 tell follow-redisplay to preserve it.
14
15
12008-12-30 Andreas Schwab <schwab@suse.de> 162008-12-30 Andreas Schwab <schwab@suse.de>
2 17
3 * server.el (server-running-p): Remove interactive spec. Fix 18 * server.el (server-running-p): Remove interactive spec. Fix