Subject: 24.3.50; [PATCH] Add some keybindings for doc-view-mode

From: Xue Fuqiao <[email-masked]>
Date: Thu, 26 Sep 2013 22:14:54 +0800

severity minor
tags patch

This patch adds some keybindings to doc-view-mode:

=== modified file 'lisp/doc-view.el'
*** lisp/doc-view.el    2013-09-18 04:38:49 +0000
--- lisp/doc-view.el    2013-09-26 14:10:57 +0000
***************
*** 405,411 ****
--- 405,415 ----
      (define-key map (kbd "RET")       'image-next-line)
      ;; Zoom in/out.
      (define-key map "+"               'doc-view-enlarge)
+     (define-key map "="               'doc-view-enlarge)
+     (define-key map (kbd "C-x C-+")   'doc-view-enlarge)
+     (define-key map (kbd "C-x C-=")   'doc-view-enlarge)
      (define-key map "-"               'doc-view-shrink)
+     (define-key map (kbd "C-x C--")   'doc-view-shrink)
      ;; Fit the image to the window
      (define-key map "W"               'doc-view-fit-width-to-window)
      (define-key map "H"               'doc-view-fit-height-to-window)

-- 
Best regards, Xue Fuqiao.
http://www.gnu.org/software/emacs/