aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2008-05-28 14:16:09 +0000
committerStefan Monnier2008-05-28 14:16:09 +0000
commit5b813fe87e42769ab12040b47dbf247034dbccf5 (patch)
treec9fd241e0fc163edc3d9afbd874f4b4f8122b1bc
parent6b3d752c5df6b19f6ff20174e3cb0471ff3daa27 (diff)
downloademacs-5b813fe87e42769ab12040b47dbf247034dbccf5.tar.gz
emacs-5b813fe87e42769ab12040b47dbf247034dbccf5.zip
(doc-view-mode-map): Bind `q' to quit-window, as is the custom.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/doc-view.el2
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index fc88bbc3c60..6a395dcb2ab 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12008-05-28 Stefan Monnier <monnier@iro.umontreal.ca> 12008-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2 2
3 * doc-view.el (doc-view-mode-map): Bind `q' to quit-window, as is
4 the custom.
5
3 * files.el (basic-save-buffer-2): Pass nil rather than (point-min) 6 * files.el (basic-save-buffer-2): Pass nil rather than (point-min)
4 to write-region. 7 to write-region.
5 8
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'.")
295 (define-key map "+" 'doc-view-enlarge) 295 (define-key map "+" 'doc-view-enlarge)
296 (define-key map "-" 'doc-view-shrink) 296 (define-key map "-" 'doc-view-shrink)
297 ;; Killing/burying the buffer (and the process) 297 ;; Killing/burying the buffer (and the process)
298 (define-key map (kbd "q") 'bury-buffer) 298 (define-key map (kbd "q") 'quit-window)
299 (define-key map (kbd "k") 'doc-view-kill-proc-and-buffer) 299 (define-key map (kbd "k") 'doc-view-kill-proc-and-buffer)
300 (define-key map (kbd "K") 'doc-view-kill-proc) 300 (define-key map (kbd "K") 'doc-view-kill-proc)
301 ;; Slicing the image 301 ;; Slicing the image