diff lisp/doc-view.el @ 95363:3c5bdcf6184e

(doc-view-mode-map): Bind `q' to quit-window, as is the custom.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 28 May 2008 14:16:09 +0000
parents ee5932bf781d
children 88781ac6a1be
line wrap: on
line diff
--- a/lisp/doc-view.el	Wed May 28 12:36:15 2008 +0000
+++ b/lisp/doc-view.el	Wed May 28 14:16:09 2008 +0000
@@ -295,7 +295,7 @@
     (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