]> git.eshelyaron.com Git - emacs.git/commitdiff
(doc-view-mode-map): Bind `q' to quit-window, as is the custom.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 28 May 2008 14:16:09 +0000 (14:16 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 28 May 2008 14:16:09 +0000 (14:16 +0000)
lisp/ChangeLog
lisp/doc-view.el

index fc88bbc3c601f898d18c7acad8c70fd251784813..6a395dcb2ab60dcaffcc91a344c7123a84d91c1e 100644 (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.
 
index d464216df8ad7c04bc5ca68543af4aa7a77fce9d..ced22c1f81d1fc827ed787affcfa58c8c509c92a 100644 (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