diff options
| -rw-r--r-- | lisp/comint.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lisp/comint.el b/lisp/comint.el index 07ced8d321a..93b97cb22b4 100644 --- a/lisp/comint.el +++ b/lisp/comint.el | |||
| @@ -604,6 +604,14 @@ via PTYs.") | |||
| 604 | menu-bar-final-items)) | 604 | menu-bar-final-items)) |
| 605 | map)) | 605 | map)) |
| 606 | 606 | ||
| 607 | (defvar-keymap comint-repeat-map | ||
| 608 | :doc "Keymap to repeat comint key sequences. Used in `repeat-mode'." | ||
| 609 | "C-n" #'comint-next-prompt | ||
| 610 | "C-p" #'comint-previous-prompt) | ||
| 611 | |||
| 612 | (put #'comint-next-prompt 'repeat-map 'comint-repeat-map) | ||
| 613 | (put #'comint-previous-prompt 'repeat-map 'comint-repeat-map) | ||
| 614 | |||
| 607 | ;; Fixme: Is this still relevant? | 615 | ;; Fixme: Is this still relevant? |
| 608 | (defvar comint-ptyp t | 616 | (defvar comint-ptyp t |
| 609 | "Non-nil if communications via pty; false if by pipe. Buffer local. | 617 | "Non-nil if communications via pty; false if by pipe. Buffer local. |