changeset 10658:1912b355d49c

(dired-mode-map): Define up and down arrows like C-p, C-n.
author Richard M. Stallman <rms@gnu.org>
date Sat, 04 Feb 1995 02:08:29 +0000
parents 7f03dad5feb6
children a0efedb217ed
files lisp/dired.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/dired.el	Sat Feb 04 02:05:14 1995 +0000
+++ b/lisp/dired.el	Sat Feb 04 02:08:29 1995 +0000
@@ -780,6 +780,8 @@
   (define-key dired-mode-map " "  'dired-next-line)
   (define-key dired-mode-map "\C-n" 'dired-next-line)
   (define-key dired-mode-map "\C-p" 'dired-previous-line)
+  (define-key dired-mode-map [down] 'dired-next-line)
+  (define-key dired-mode-map [up] 'dired-previous-line)
   ;; hiding
   (define-key dired-mode-map "$" 'dired-hide-subdir)
   (define-key dired-mode-map "\M-$" 'dired-hide-all)