* doc-view.el (doc-view-mode-map): Remap scroll-{up,down} to
image-scroll-{up,down}.
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>
(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)