From: Stefan Kangas <stefan@marxist.se>
Date: Thu, 23 Jun 2022 11:41:07 +0000 (+0200)
Subject: Tag shortcut commands for recentf-dialog-mode
X-Git-Tag: emacs-29.0.90~1447^2~1515
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=097b63f2ef1851dfa3540cc94d4f756182e0d687;p=emacs.git

Tag shortcut commands for recentf-dialog-mode

* lisp/recentf.el (recentf--shortcuts-keymap): Add interactive mode
tags for 'recentf-dialog-mode' specific commands.
---

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)))