]> git.eshelyaron.com Git - emacs.git/commit
Scrolling commands which does not signal errors at top/bottom.
authorJuri Linkov <juri@jurta.org>
Mon, 5 Apr 2010 23:38:53 +0000 (02:38 +0300)
committerJuri Linkov <juri@jurta.org>
Mon, 5 Apr 2010 23:38:53 +0000 (02:38 +0300)
commit79ce172a464f2d5cced69f97fd86c4e03a0876a9
treef7347b58dd13fcc423f8b006bb39fe2219892393
parent6460e5342cb08578eb2fd22b086373bbc12a11d0
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'.
etc/NEWS
lisp/ChangeLog
lisp/bindings.el
lisp/emulation/cua-base.el
lisp/simple.el