mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 12:21:25 -08:00
comint: Add repeat-map for comint-{next,previous}-prompt
* lisp/comint.el (comint-repeat-map): New keymap. (Bug#59144)
This commit is contained in:
parent
6678572110
commit
84472c3363
1 changed files with 8 additions and 0 deletions
|
|
@ -604,6 +604,14 @@ via PTYs.")
|
|||
menu-bar-final-items))
|
||||
map))
|
||||
|
||||
(defvar-keymap comint-repeat-map
|
||||
:doc "Keymap to repeat comint key sequences. Used in `repeat-mode'."
|
||||
"C-n" #'comint-next-prompt
|
||||
"C-p" #'comint-previous-prompt)
|
||||
|
||||
(put #'comint-next-prompt 'repeat-map 'comint-repeat-map)
|
||||
(put #'comint-previous-prompt 'repeat-map 'comint-repeat-map)
|
||||
|
||||
;; Fixme: Is this still relevant?
|
||||
(defvar comint-ptyp t
|
||||
"Non-nil if communications via pty; false if by pipe. Buffer local.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue