summaryrefslogtreecommitdiff
path: root/lisp/find-dired.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-07-07 13:28:57 +0000
committerRichard M. Stallman <rms@gnu.org>1995-07-07 13:28:57 +0000
commit09e8b7dc1d7315caf21a98c9a3790277146f979f (patch)
tree450dc33d9162d4da58f1427bd7702842051da9a9 /lisp/find-dired.el
parentbcb8fa79c11ef273340f034ca9e3d8b026305aba (diff)
downloademacs-09e8b7dc1d7315caf21a98c9a3790277146f979f.tar.gz
(find-dired): Undefine the g command.
Diffstat (limited to 'lisp/find-dired.el')
-rw-r--r--lisp/find-dired.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/find-dired.el b/lisp/find-dired.el
index 3f2648fb76c..596f5960448 100644
--- a/lisp/find-dired.el
+++ b/lisp/find-dired.el
@@ -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