]> git.eshelyaron.com Git - emacs.git/commit
Bind C-c C-c and C-c C-k in recentf-dialog-mode
authorStefan Kangas <stefan@marxist.se>
Wed, 22 Jun 2022 11:36:19 +0000 (13:36 +0200)
committerStefan Kangas <stefan@marxist.se>
Wed, 22 Jun 2022 23:18:57 +0000 (01:18 +0200)
commitfeb88fa8abe94dbd39ed05dd68008a4eccbf56cd
tree0b96f539bc55da1542b5963fa9753be5edcc51c7
parentec1fffdeca9c87a92b8c35545121b4ee3eec3ece
Bind C-c C-c and C-c C-k in recentf-dialog-mode

* lisp/recentf.el (recentf-dialog-mode-map): Prefer defvar-keymap.
Bind `C-c C-c' and `C-c C-k' to confirm/cancel the dialog.
(recentf-cancel-dialog, recentf-edit-list-validate): Add
interactive mode tags for 'recentf-dialog-mode'.
(recentf-dialog-mode): Mark as non-interactive.
(recentf-edit-list): Display key binding.
lisp/recentf.el