emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 097b63f2ef: Tag shortcut commands for recentf-dialog-mode


From: Stefan Kangas
Subject: master 097b63f2ef: Tag shortcut commands for recentf-dialog-mode
Date: Thu, 23 Jun 2022 07:52:48 -0400 (EDT)

branch: master
commit 097b63f2ef1851dfa3540cc94d4f756182e0d687
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    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 b31aafc9dc..7ddf1efb9f 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]