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.
(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