From cf7c8463984e064a7a1e3948e31dcbaf920b1d85 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 7 Dec 1994 10:25:44 +0000 Subject: [PATCH] (comint-mode-map): Treat C-up, C-down like M-p, M-n. --- lisp/comint.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/comint.el b/lisp/comint.el index a3666ec92d2..c2e090f0fca 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -394,6 +394,8 @@ Entry to this mode runs the hooks on `comint-mode-hook'." (setq comint-mode-map (make-sparse-keymap)) (define-key comint-mode-map "\ep" 'comint-previous-input) (define-key comint-mode-map "\en" 'comint-next-input) + (define-key comint-mode-map [C-up] 'comint-previous-input) + (define-key comint-mode-map [C-down] 'comint-next-input) (define-key comint-mode-map "\er" 'comint-previous-matching-input) (define-key comint-mode-map "\es" 'comint-next-matching-input) (define-key comint-mode-map [?\A-\M-r] 'comint-previous-matching-input-from-input) -- 2.39.5