From: Tassilo Horn Date: Fri, 4 Jan 2008 08:45:33 +0000 (+0000) Subject: 2008-01-04 Tassilo Horn X-Git-Tag: emacs-pretest-23.0.90~8700 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f1acd44c0315d993061d8a4fd052ff346236994d;p=emacs.git 2008-01-04 Tassilo Horn * doc-view.el (doc-view-mode-map): Remap scroll-{up,down} to image-scroll-{up,down}. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7a702a13f37..9568604a9ed 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -25,6 +25,8 @@ image-scroll-down instead of the non-image equivalents. Don't rely on a signalled condition but switch pages when scrolling doesn't change the vertical position anymore. + (doc-view-mode-map): Remap scroll-{up,down} to + image-scroll-{up,down}. 2008-01-04 Rob Riepel diff --git a/lisp/doc-view.el b/lisp/doc-view.el index c47e98fe368..2f1d9f53783 100644 --- a/lisp/doc-view.el +++ b/lisp/doc-view.el @@ -264,6 +264,8 @@ has finished." (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)