]> code.delx.au - gnu-emacs/commit
Restore follow-scroll-up/down to scrolling by the combined size of all windows
authorAlan Mackenzie <acm@muc.de>
Fri, 29 Apr 2016 14:58:21 +0000 (14:58 +0000)
committerAlan Mackenzie <acm@muc.de>
Fri, 29 Apr 2016 14:58:21 +0000 (14:58 +0000)
commitc6077bfd297a8a0e4deaec217db17be630d98b9c
tree40b31ef5fc00a49c4b1ebae497cb7b2b883fd373
parentb671e218db4bed019edd80abf72f77f9b5a07f0d
Restore follow-scroll-up/down to scrolling by the combined size of all windows

Also rename the current follow-scroll-up/down functions to
follow-scroll-up-window and follow-scroll-down-window.  These scroll by the
height of the current window.

This fixes bug #23347.

* lisp/follow.el (follow-mode): Tweak the doc string.
(follow-scroll-up-arg, follow-scroll-down-arg): new functions, extracted from
follow-scroll-up/down.
(follow-scroll-up-window, follow-scroll-down-window): Functions renamed from
follow-scroll-up/down.
(follow-scroll-up, follow-scroll-down): Restore the historic functionality.
lisp/follow.el