Mercurial > emacs
changeset 95528:40ef1e044cad
(image-mode-map): Add doc-view-inspired bindings.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 04 Jun 2008 05:58:33 +0000 |
parents | 0f9689c194e6 |
children | 48aeb7d8e750 |
files | lisp/ChangeLog lisp/image-mode.el |
diffstat | 2 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Wed Jun 04 05:38:04 2008 +0000 +++ b/lisp/ChangeLog Wed Jun 04 05:58:33 2008 +0000 @@ -1,3 +1,7 @@ +2008-06-04 Markus Triska <markus.triska@gmx.at> + + * image-mode.el (image-mode-map): Add doc-view-inspired bindings. + 2008-06-04 Miles Bader <miles@gnu.org> * face-remap.el (adjust-buffer-face-height): New function.
--- a/lisp/image-mode.el Wed Jun 04 05:38:04 2008 +0000 +++ b/lisp/image-mode.el Wed Jun 04 05:58:33 2008 +0000 @@ -290,6 +290,9 @@ (define-key map "q" 'quit-window) ;; (define-key map "\C-c\C-c" 'image-toggle-display) + (define-key map (kbd "SPC") 'image-scroll-up) + (define-key map (kbd "DEL") 'image-scroll-down) + ;; (define-key map [remap forward-char] 'image-forward-hscroll) (define-key map [remap backward-char] 'image-backward-hscroll) (define-key map [remap previous-line] 'image-previous-line)