From: Tassilo Horn Date: Fri, 11 Dec 2020 09:24:58 +0000 (+0100) Subject: Bind k to image-kill-buffer in doc-view-mode-map. X-Git-Tag: emacs-27.1.90~11 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=de032d41c6;p=emacs.git 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). --- 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)