From: Richard M. Stallman Date: Fri, 7 Jul 1995 13:28:57 +0000 (+0000) Subject: (find-dired): Undefine the g command. X-Git-Tag: emacs-19.34~3374 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=400bf31776613ac9529719e5e896351d5e1e1e30;p=emacs.git (find-dired): Undefine the g command. --- 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