aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman1994-12-07 10:25:44 +0000
committerRichard M. Stallman1994-12-07 10:25:44 +0000
commitcf7c8463984e064a7a1e3948e31dcbaf920b1d85 (patch)
tree83fafbcccb0dd2c97db4a85b2138d16957235d3f /lisp
parentb135a7cf0b1607ae7f1085c3e0ed69d69f7d7fd6 (diff)
downloademacs-cf7c8463984e064a7a1e3948e31dcbaf920b1d85.tar.gz
emacs-cf7c8463984e064a7a1e3948e31dcbaf920b1d85.zip
(comint-mode-map): Treat C-up, C-down like M-p, M-n.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/comint.el2
1 files changed, 2 insertions, 0 deletions
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'."
394 (setq comint-mode-map (make-sparse-keymap)) 394 (setq comint-mode-map (make-sparse-keymap))
395 (define-key comint-mode-map "\ep" 'comint-previous-input) 395 (define-key comint-mode-map "\ep" 'comint-previous-input)
396 (define-key comint-mode-map "\en" 'comint-next-input) 396 (define-key comint-mode-map "\en" 'comint-next-input)
397 (define-key comint-mode-map [C-up] 'comint-previous-input)
398 (define-key comint-mode-map [C-down] 'comint-next-input)
397 (define-key comint-mode-map "\er" 'comint-previous-matching-input) 399 (define-key comint-mode-map "\er" 'comint-previous-matching-input)
398 (define-key comint-mode-map "\es" 'comint-next-matching-input) 400 (define-key comint-mode-map "\es" 'comint-next-matching-input)
399 (define-key comint-mode-map [?\A-\M-r] 'comint-previous-matching-input-from-input) 401 (define-key comint-mode-map [?\A-\M-r] 'comint-previous-matching-input-from-input)