Make dired-jump repeatable in repeat-mode
* lisp/dired.el (dired-jump-map): New variable. (dired-jump): Put 'repeat-map' property with 'dired-jump-map'.
This commit is contained in:
parent
1ee1d21c75
commit
ad73b588d4
1 changed files with 5 additions and 0 deletions
|
@ -4797,6 +4797,11 @@ Interactively with prefix argument, read FILE-NAME."
|
|||
(read-file-name "Jump to Dired file: "))))
|
||||
(dired-jump t file-name))
|
||||
|
||||
(defvar-keymap dired-jump-map
|
||||
:doc "Keymap to repeat `dired-jump'. Used in `repeat-mode'."
|
||||
"C-j" #'dired-jump)
|
||||
(put 'dired-jump 'repeat-map 'dired-jump-map)
|
||||
|
||||
|
||||
;;; Miscellaneous commands
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue