(doc-view-mode-map): Bind `q' to quit-window, as is the custom.

This commit is contained in:
Stefan Monnier 2008-05-28 14:16:09 +00:00
parent 6b3d752c5d
commit 5b813fe87e
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2008-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
* doc-view.el (doc-view-mode-map): Bind `q' to quit-window, as is
the custom.
* files.el (basic-save-buffer-2): Pass nil rather than (point-min)
to write-region.

View file

@ -295,7 +295,7 @@ Can be `dvi', `pdf', or `ps'.")
(define-key map "+" 'doc-view-enlarge)
(define-key map "-" 'doc-view-shrink)
;; Killing/burying the buffer (and the process)
(define-key map (kbd "q") 'bury-buffer)
(define-key map (kbd "q") 'quit-window)
(define-key map (kbd "k") 'doc-view-kill-proc-and-buffer)
(define-key map (kbd "K") 'doc-view-kill-proc)
;; Slicing the image