]> git.eshelyaron.com Git - emacs.git/commitdiff
(find-dired): Undefine the g command.
authorRichard M. Stallman <rms@gnu.org>
Fri, 7 Jul 1995 13:28:57 +0000 (13:28 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 7 Jul 1995 13:28:57 +0000 (13:28 +0000)
lisp/find-dired.el

index 3f2648fb76c49eea5a6e019a66c5311866ba7a01..596f5960448b18dfd4095240ca579d1d172a2383 100644 (file)
@@ -77,6 +77,10 @@ The command run (after changing into DIR) is
                     (car find-ls-option)))
   ;; The next statement will bomb in classic dired (no optional arg allowed)
   (dired-mode dir (cdr find-ls-option))
+  ;; This really should rerun the find command, but I don't
+  ;; have time for that.
+  (use-local-map (append (make-sparse-keymap) (current-local-map)))
+  (define-key (current-local-map) "g" 'undefined)
   ;; Set subdir-alist so that Tree Dired will work:
   (if (fboundp 'dired-simple-subdir-alist)
       ;; will work even with nested dired format (dired-nstd.el,v 1.15