aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTassilo Horn2008-01-04 08:45:33 +0000
committerTassilo Horn2008-01-04 08:45:33 +0000
commitf1acd44c0315d993061d8a4fd052ff346236994d (patch)
tree7a7c42c00dd0ab874cffbc2fff81dc440fe48c70
parentb38f5e6fea9ae63f826e849b0c037d28119604c9 (diff)
downloademacs-f1acd44c0315d993061d8a4fd052ff346236994d.tar.gz
emacs-f1acd44c0315d993061d8a4fd052ff346236994d.zip
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}.
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/doc-view.el2
2 files changed, 4 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7a702a13f37..9568604a9ed 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -25,6 +25,8 @@
25 image-scroll-down instead of the non-image equivalents. Don't 25 image-scroll-down instead of the non-image equivalents. Don't
26 rely on a signalled condition but switch pages when scrolling 26 rely on a signalled condition but switch pages when scrolling
27 doesn't change the vertical position anymore. 27 doesn't change the vertical position anymore.
28 (doc-view-mode-map): Remap scroll-{up,down} to
29 image-scroll-{up,down}.
28 30
292008-01-04 Rob Riepel <riepel@networking.Stanford.EDU> 312008-01-04 Rob Riepel <riepel@networking.Stanford.EDU>
30 32
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."
264 (define-key map (kbd "M-<") 'doc-view-first-page) 264 (define-key map (kbd "M-<") 'doc-view-first-page)
265 (define-key map (kbd "M->") 'doc-view-last-page) 265 (define-key map (kbd "M->") 'doc-view-last-page)
266 (define-key map [remap goto-line] 'doc-view-goto-page) 266 (define-key map [remap goto-line] 'doc-view-goto-page)
267 (define-key map [remap scroll-up] 'image-scroll-up)
268 (define-key map [remap scroll-down] 'image-scroll-down)
267 ;; Zoom in/out. 269 ;; Zoom in/out.
268 (define-key map "+" 'doc-view-enlarge) 270 (define-key map "+" 'doc-view-enlarge)
269 (define-key map "-" 'doc-view-shrink) 271 (define-key map "-" 'doc-view-shrink)