diff options
author | Alan Mackenzie <acm@muc.de> | 2015-09-26 19:03:35 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2015-09-26 19:07:24 +0000 |
commit | 3d16ffb304f3026e9bcb10a9cf5a76976669b9b1 (patch) | |
tree | f09046f002bb445abf6ea9188a2395ace9d535d6 /lisp/emacs-lisp/timer.el | |
parent | 2e775b43e0b092a958bb3d14347a20372ad2d4aa (diff) | |
download | emacs-3d16ffb304f3026e9bcb10a9cf5a76976669b9b1.tar.gz emacs-3d16ffb304f3026e9bcb10a9cf5a76976669b9b1.tar.bz2 emacs-3d16ffb304f3026e9bcb10a9cf5a76976669b9b1.zip |
Fix follow-scroll-up/down, making them replacements for scroll-up/down.
1. Allow point to move between follow windows in scroll operations.
2. Fix bug where `right-char' just before EOB caused spurious scrolling,
when EOB was isolated in the last follow window.
lisp/follow.el (follow-fixed-window): New variable.
(follow-get-scrolled-point): New function.
(follow-scrol-up, follow-scroll-down): Add autoload cookies.
Reformulate
the code. Put `scroll-command' properties on the functions. Correct
minor errors in ...-down's doc string and code.
(follow-calc-win-end): Amend incomplete doc string. Use
`pos-visible-in-window-p' to check whether EOB is in the window.
(follow-estimate-first-window-start): Correct an off-by-1 error.
(follow-adjust-window): Add handling for explicit scrolling operations.
Diffstat (limited to 'lisp/emacs-lisp/timer.el')
0 files changed, 0 insertions, 0 deletions