mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
em-prompt: Add repeat-map for eshell-{next,previous}-prompt
* lisp/eshell/em-prompt.el (eshell-prompt-repeat-map): New keymap. (Bug#59144)
This commit is contained in:
parent
84472c3363
commit
d9d8ea6142
1 changed files with 8 additions and 0 deletions
|
|
@ -100,6 +100,14 @@ arriving, or after."
|
|||
"C-c C-n" #'eshell-next-prompt
|
||||
"C-c C-p" #'eshell-previous-prompt)
|
||||
|
||||
(defvar-keymap eshell-prompt-repeat-map
|
||||
:doc "Keymap to repeat eshell-prompt key sequences. Used in `repeat-mode'."
|
||||
"C-n" #'eshell-next-prompt
|
||||
"C-p" #'eshell-previous-prompt)
|
||||
|
||||
(put #'eshell-next-prompt 'repeat-map 'eshell-prompt-repeat-map)
|
||||
(put #'eshell-previous-prompt 'repeat-map 'eshell-prompt-repeat-map)
|
||||
|
||||
;;; Functions:
|
||||
|
||||
(define-minor-mode eshell-prompt-mode
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue