summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTassilo Horn <tsdh@gnu.org>2020-12-11 10:24:58 +0100
committerTassilo Horn <tsdh@gnu.org>2020-12-11 10:24:58 +0100
commitde032d41c6c9dc143a5d2ddcacdccd20567aee8c (patch)
tree35ade7ff1adc0105aa59dd512f73317adb5077a4
parent809b22d18d20e59a6320c62bbff29bd578f0b65a (diff)
downloademacs-de032d41c6c9dc143a5d2ddcacdccd20567aee8c.tar.gz
Bind k to image-kill-buffer in doc-view-mode-map.
* lisp/doc-view.el (doc-view-mode-map): Bind k to image-kill-buffer. The binding k -> doc-view-kill-proc-and-buffer has been removed in 2015 and the function been made an obsolete function alias to image-kill-buffer (bug#45157).
-rw-r--r--lisp/doc-view.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/doc-view.el b/lisp/doc-view.el
index b895377f8dc..031e46a1c9d 100644
--- a/lisp/doc-view.el
+++ b/lisp/doc-view.el
@@ -432,6 +432,7 @@ Typically \"page-%s.png\".")
(define-key map "P" 'doc-view-fit-page-to-window)
(define-key map "F" 'doc-view-fit-window-to-page) ;F = frame
;; Killing the buffer (and the process)
+ (define-key map (kbd "k") 'image-kill-buffer)
(define-key map (kbd "K") 'doc-view-kill-proc)
;; Slicing the image
(define-key map (kbd "c s") 'doc-view-set-slice)