From 5b813fe87e42769ab12040b47dbf247034dbccf5 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 28 May 2008 14:16:09 +0000 Subject: [PATCH] (doc-view-mode-map): Bind `q' to quit-window, as is the custom. --- lisp/ChangeLog | 3 +++ lisp/doc-view.el | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fc88bbc3c60..6a395dcb2ab 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2008-05-28 Stefan Monnier + * 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. diff --git a/lisp/doc-view.el b/lisp/doc-view.el index d464216df8a..ced22c1f81d 100644 --- a/lisp/doc-view.el +++ b/lisp/doc-view.el @@ -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 -- 2.39.2