From: Richard M. Stallman Date: Wed, 7 Dec 1994 10:25:44 +0000 (+0000) Subject: (comint-mode-map): Treat C-up, C-down like M-p, M-n. X-Git-Tag: emacs-19.34~5730 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cf7c8463984e064a7a1e3948e31dcbaf920b1d85;p=emacs.git (comint-mode-map): Treat C-up, C-down like M-p, M-n. --- 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)