diff options
| author | Tassilo Horn | 2020-12-11 10:24:58 +0100 |
|---|---|---|
| committer | Tassilo Horn | 2020-12-11 10:24:58 +0100 |
| commit | de032d41c6c9dc143a5d2ddcacdccd20567aee8c (patch) | |
| tree | 35ade7ff1adc0105aa59dd512f73317adb5077a4 | |
| parent | 809b22d18d20e59a6320c62bbff29bd578f0b65a (diff) | |
| download | emacs-de032d41c6c9dc143a5d2ddcacdccd20567aee8c.tar.gz emacs-de032d41c6c9dc143a5d2ddcacdccd20567aee8c.zip | |
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.el | 1 |
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\".") | |||
| 432 | (define-key map "P" 'doc-view-fit-page-to-window) | 432 | (define-key map "P" 'doc-view-fit-page-to-window) |
| 433 | (define-key map "F" 'doc-view-fit-window-to-page) ;F = frame | 433 | (define-key map "F" 'doc-view-fit-window-to-page) ;F = frame |
| 434 | ;; Killing the buffer (and the process) | 434 | ;; Killing the buffer (and the process) |
| 435 | (define-key map (kbd "k") 'image-kill-buffer) | ||
| 435 | (define-key map (kbd "K") 'doc-view-kill-proc) | 436 | (define-key map (kbd "K") 'doc-view-kill-proc) |
| 436 | ;; Slicing the image | 437 | ;; Slicing the image |
| 437 | (define-key map (kbd "c s") 'doc-view-set-slice) | 438 | (define-key map (kbd "c s") 'doc-view-set-slice) |