summaryrefslogtreecommitdiff
path: root/lisp/doc-view.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2020-12-15 09:23:37 -0800
committerGlenn Morris <rgm@gnu.org>2020-12-15 09:23:37 -0800
commit6a2c13280c4fb2e154e34af6e3b91dd77592d7ba (patch)
tree1cbd72ffb8f7e38d22c7ec82bd85f0a20cd4bdc8 /lisp/doc-view.el
parentf3e21483106cb3ff64adcf21d30c8327a23a3401 (diff)
parent62a6934af9c110c28fc1f69f4bb1b79ce9d0c43d (diff)
downloademacs-6a2c13280c4fb2e154e34af6e3b91dd77592d7ba.tar.gz
Merge from origin/emacs-27
62a6934af9 Fix crash when using XRender and restoring image from X (b... de032d41c6 Bind k to image-kill-buffer in doc-view-mode-map.
Diffstat (limited to 'lisp/doc-view.el')
-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 f7a7be96b3d..dbd93563a23 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)