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}.
This commit is contained in:
Tassilo Horn 2008-01-04 08:45:33 +00:00
parent b38f5e6fea
commit f1acd44c03
2 changed files with 4 additions and 0 deletions

View file

@ -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 <riepel@networking.Stanford.EDU>

View file

@ -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)