]> git.eshelyaron.com Git - emacs.git/commitdiff
Tag shortcut commands for recentf-dialog-mode
authorStefan Kangas <stefan@marxist.se>
Thu, 23 Jun 2022 11:41:07 +0000 (13:41 +0200)
committerStefan Kangas <stefan@marxist.se>
Thu, 23 Jun 2022 11:41:07 +0000 (13:41 +0200)
* lisp/recentf.el (recentf--shortcuts-keymap): Add interactive mode
tags for 'recentf-dialog-mode' specific commands.

lisp/recentf.el

index b31aafc9dc9fcd541f8c3ea9e4333ae1bb6c91fe..7ddf1efb9fcfd7a63af31e8ae266459cf8665c2f 100644 (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)))