diff options
author | Juri Linkov <juri@jurta.org> | 2010-04-14 03:33:32 +0300 |
---|---|---|
committer | Juri Linkov <juri@jurta.org> | 2010-04-14 03:33:32 +0300 |
commit | d756a06a73c001a350208bc188620935f9c2eee4 (patch) | |
tree | b998f17e8895349bcb87329edf884b7346b22fcb /lisp/image-mode.el | |
parent | 57ea6675c1f28b43f95fee1dbd711490ae6945bf (diff) | |
download | emacs-d756a06a73c001a350208bc188620935f9c2eee4.tar.gz |
Bind `C-v' to `scroll-up-command' and `M-v' to `scroll-down-command'.
http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00403.html
* window.c (keys_of_window): Rebind `C-v' from `scroll-up' to
`scroll-up-command' and `M-v' from `scroll-down' to
`scroll-down-command'.
* tutorial.el (tutorial--default-keys): Rebind `C-v' to
`scroll-up-command' and `M-v' to `scroll-down-command'.
* emulation/cua-rect.el (cua--init-rectangles):
* forms.el (forms--change-commands):
* image-mode.el (image-mode-map):
Remap scroll-down-command and scroll-up-command
in addition to scroll-down and scroll-up.
Diffstat (limited to 'lisp/image-mode.el')
-rw-r--r-- | lisp/image-mode.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/image-mode.el b/lisp/image-mode.el index 6169fa4cb71..cd292a8fa3b 100644 --- a/lisp/image-mode.el +++ b/lisp/image-mode.el @@ -302,6 +302,8 @@ This variable is used to display the current image type in the mode line.") (define-key map [remap next-line] 'image-next-line) (define-key map [remap scroll-up] 'image-scroll-up) (define-key map [remap scroll-down] 'image-scroll-down) + (define-key map [remap scroll-up-command] 'image-scroll-up) + (define-key map [remap scroll-down-command] 'image-scroll-down) (define-key map [remap move-beginning-of-line] 'image-bol) (define-key map [remap move-end-of-line] 'image-eol) (define-key map [remap beginning-of-buffer] 'image-bob) |