Mercurial > emacs
changeset 87575:f637e8101ba1
2008-01-04 Tassilo Horn <tassilo@member.fsf.org>
* doc-view.el (doc-view-mode-map): Remap scroll-{up,down} to
image-scroll-{up,down}.
author | Tassilo Horn <tassilo@member.fsf.org> |
---|---|
date | Fri, 04 Jan 2008 08:43:38 +0000 |
parents | 21fcd219fd6e |
children | 79db70e7148f |
files | lisp/doc-view.el |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/doc-view.el Fri Jan 04 08:34:15 2008 +0000 +++ b/lisp/doc-view.el Fri Jan 04 08:43:38 2008 +0000 @@ -264,6 +264,8 @@ (define-key map (kbd "M-<") 'doc-view-first-page) (define-key map (kbd "M->") 'doc-view-last-page) (define-key map [remap goto-line] 'doc-view-goto-page) + (define-key map [remap scroll-up] 'image-scroll-up) + (define-key map [remap scroll-down] 'image-scroll-down) ;; Zoom in/out. (define-key map "+" 'doc-view-enlarge) (define-key map "-" 'doc-view-shrink)