changeset 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 e886c765584a
children 03298b3ef01c
files lisp/ChangeLog lisp/doc-view.el
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed May 28 12:36:15 2008 +0000
+++ b/lisp/ChangeLog	Wed May 28 14:16:09 2008 +0000
@@ -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.
 
--- 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