Mercurial > emacs
diff lisp/ChangeLog @ 107852:4abde609aac9
Add variable `scroll-preserve-screen-position-commands'.
http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00403.html
* window.c (Vscroll_preserve_screen_position_commands): New variable
with the default value as the list of Qscroll_down and Qscroll_up.
(window_scroll_pixel_based, window_scroll_line_based): Search the
last command in the list Vscroll_preserve_screen_position_commands
instead of comparing with Qscroll_up and Qscroll_down.
* mwheel.el (scroll-preserve-screen-position-commands):
Add mwheel-scroll to this list of commands.
* simple.el (scroll-preserve-screen-position-commands):
Add scroll-up-command, scroll-down-command, scroll-up-line,
scroll-down-line to this list of commands.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Wed, 14 Apr 2010 03:11:21 +0300 |
parents | c35518fa0d56 |
children | de5ba6f3514c |
line wrap: on
line diff
--- a/lisp/ChangeLog Tue Apr 13 17:16:42 2010 +0200 +++ b/lisp/ChangeLog Wed Apr 14 03:11:21 2010 +0300 @@ -1,3 +1,12 @@ +2010-04-14 Juri Linkov <juri@jurta.org> + + * mwheel.el (scroll-preserve-screen-position-commands): + Add mwheel-scroll to this list of commands. + + * simple.el (scroll-preserve-screen-position-commands): + Add scroll-up-command, scroll-down-command, scroll-up-line, + scroll-down-line to this list of commands. + 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca> * obsolete/complete.el: Move from lisp/complete.el.