mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-05 03:39:38 +00:00
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).
This commit is contained in:
parent
809b22d18d
commit
de032d41c6
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue