changeset 7494:de1c896460da

(dired-mode-map): Get rid of dired-regexp-prefix; put the submap directly in the main map.
author Richard M. Stallman <rms@gnu.org>
date Sat, 14 May 1994 07:59:14 +0000
parents f4fb8b913c5d
children 266bf374a7bf
files lisp/dired.el
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/dired.el	Sat May 14 06:34:26 1994 +0000
+++ b/lisp/dired.el	Sat May 14 07:59:14 1994 +0000
@@ -696,8 +696,10 @@
   (define-key dired-mode-map "\M-{" 'dired-prev-marked-file)
   (define-key dired-mode-map "\M-}" 'dired-next-marked-file)
   ;; Make all regexp commands share a `%' prefix:
-  (defalias 'dired-regexp-prefix (make-sparse-keymap))
-  (define-key dired-mode-map "%" 'dired-regexp-prefix)
+  ;; We used to get to the submap via a symbol dired-regexp-prefix,
+  ;; but that seems to serve little purpose, and copy-keymap
+  ;; does a better job without it.
+  (define-key dired-mode-map "%" nil)
   (define-key dired-mode-map "%u" 'dired-upcase)
   (define-key dired-mode-map "%l" 'dired-downcase)
   (define-key dired-mode-map "%d" 'dired-flag-files-regexp)