summaryrefslogtreecommitdiff
path: root/lisp/recentf.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2022-06-23 13:41:07 +0200
committerStefan Kangas <stefan@marxist.se>2022-06-23 13:41:07 +0200
commit097b63f2ef1851dfa3540cc94d4f756182e0d687 (patch)
tree59ff1622b8d57a0a9ea170553b72f397a6a42fbd /lisp/recentf.el
parent3832e5360bd71c90eb0f7ad88f0daf001de8b3d3 (diff)
downloademacs-097b63f2ef1851dfa3540cc94d4f756182e0d687.tar.gz
Tag shortcut commands for recentf-dialog-mode
* lisp/recentf.el (recentf--shortcuts-keymap): Add interactive mode tags for 'recentf-dialog-mode' specific commands.
Diffstat (limited to 'lisp/recentf.el')
-rw-r--r--lisp/recentf.el2
1 files changed, 1 insertions, 1 deletions
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)))