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 | 3212974649ca9415a3a4a5197a169a0160a6b36f (patch) | |
tree | c4190e720ab70aa0950e0193c7a1d5fb7c3032cb /lisp/image-mode.el | |
parent | 9013a7f82ede2a309498ae62ac22dce4791b3f4a (diff) | |
download | emacs-3212974649ca9415a3a4a5197a169a0160a6b36f.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) |