emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-27 de032d4: Bind k to image-kill-buffer in doc-view-mode-map.


From: Tassilo Horn
Subject: emacs-27 de032d4: Bind k to image-kill-buffer in doc-view-mode-map.
Date: Fri, 11 Dec 2020 04:28:27 -0500 (EST)

branch: emacs-27
commit de032d41c6c9dc143a5d2ddcacdccd20567aee8c
Author: Tassilo Horn <tsdh@gnu.org>
Commit: Tassilo Horn <tsdh@gnu.org>

    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).
---
 lisp/doc-view.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/doc-view.el b/lisp/doc-view.el
index b895377..031e46a 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]