changeset 10125:317294dfa695

(comint-mode-map): Treat C-up, C-down like M-p, M-n.
author Richard M. Stallman <rms@gnu.org>
date Wed, 07 Dec 1994 10:25:44 +0000
parents baab57e76991
children b4262885826e
files lisp/comint.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/comint.el	Wed Dec 07 07:39:23 1994 +0000
+++ b/lisp/comint.el	Wed Dec 07 10:25:44 1994 +0000
@@ -394,6 +394,8 @@
   (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)