diff options
| author | Juri Linkov | 2010-04-06 02:38:53 +0300 |
|---|---|---|
| committer | Juri Linkov | 2010-04-06 02:38:53 +0300 |
| commit | 79ce172a464f2d5cced69f97fd86c4e03a0876a9 (patch) | |
| tree | f7347b58dd13fcc423f8b006bb39fe2219892393 /etc | |
| parent | 6460e5342cb08578eb2fd22b086373bbc12a11d0 (diff) | |
| download | emacs-79ce172a464f2d5cced69f97fd86c4e03a0876a9.tar.gz emacs-79ce172a464f2d5cced69f97fd86c4e03a0876a9.zip | |
Scrolling commands which does not signal errors at top/bottom.
http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
* simple.el (scroll-up-command, scroll-down-command): New commands.
Put property isearch-scroll=t on them.
* bindings.el (global-map): Rebind [prior] from `scroll-down' to
`scroll-down-command' and [next] from `scroll-up' to
`scroll-up-command'.
* emulation/cua-base.el: Put property CUA=move on
`scroll-up-command' and `scroll-down-command'.
(cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
and `scroll-down-command' to `cua-scroll-down'.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -65,6 +65,10 @@ Algorithm. | |||
| 65 | ** GTK scroll-bars are now placed on the right by default. | 65 | ** GTK scroll-bars are now placed on the right by default. |
| 66 | Use `set-scroll-bar-mode' to change this. | 66 | Use `set-scroll-bar-mode' to change this. |
| 67 | 67 | ||
| 68 | ** New scrolling commands `scroll-up-command' and `scroll-down-command' | ||
| 69 | (bound to [next] and [prior]) does not signal errors at top/bottom | ||
| 70 | of buffer at first key-press (instead moves to top/bottom of buffer). | ||
| 71 | |||
| 68 | 72 | ||
| 69 | * Editing Changes in Emacs 24.1 | 73 | * Editing Changes in Emacs 24.1 |
| 70 | 74 | ||