From 097b63f2ef1851dfa3540cc94d4f756182e0d687 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Thu, 23 Jun 2022 13:41:07 +0200 Subject: [PATCH] Tag shortcut commands for recentf-dialog-mode * lisp/recentf.el (recentf--shortcuts-keymap): Add interactive mode tags for 'recentf-dialog-mode' specific commands. --- lisp/recentf.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/recentf.el b/lisp/recentf.el index b31aafc9dc9..7ddf1efb9fc 100644 --- a/lisp/recentf.el +++ b/lisp/recentf.el @@ -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))) -- 2.39.2