Mercurial > emacs
annotate etc/FTP @ 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 | e06541128138 |
children |
rev | line source |
---|---|
77214
e06541128138
Make it a duplicate of ../FTP.
Glenn Morris <rgm@gnu.org>
parents:
75861
diff
changeset
|
1 For information about how to obtain GNU Emacs and other GNU software |
e06541128138
Make it a duplicate of ../FTP.
Glenn Morris <rgm@gnu.org>
parents:
75861
diff
changeset
|
2 by FTP, please see <http://www.gnu.org/order/ftp.html>. |
e06541128138
Make it a duplicate of ../FTP.
Glenn Morris <rgm@gnu.org>
parents:
75861
diff
changeset
|
3 |
e06541128138
Make it a duplicate of ../FTP.
Glenn Morris <rgm@gnu.org>
parents:
75861
diff
changeset
|
4 Information about Emacs is also available at |
e06541128138
Make it a duplicate of ../FTP.
Glenn Morris <rgm@gnu.org>
parents:
75861
diff
changeset
|
5 <http://www.gnu.org/software/emacs/>. |
e06541128138
Make it a duplicate of ../FTP.
Glenn Morris <rgm@gnu.org>
parents:
75861
diff
changeset
|
6 |