1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-30 08:09:04 +00:00

Tag shortcut commands for recentf-dialog-mode

* lisp/recentf.el (recentf--shortcuts-keymap): Add interactive mode
tags for 'recentf-dialog-mode' specific commands.
This commit is contained in:
Stefan Kangas 2022-06-23 13:41:07 +02:00
parent 3832e5360b
commit 097b63f2ef

View File

@ -478,7 +478,7 @@ See also the command `recentf-open-most-recent-file'."
;; Define a shortcut command.
(defalias cmd
`(lambda ()
(interactive)
(interactive nil recentf-dialog-mode)
(recentf-open-most-recent-file ,k)))
;; Bind it to a digit key.
(keymap-set km (format "%d" k) cmd)))