mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-22 07:09:54 +00:00
(find-dired): Undefine the g command.
This commit is contained in:
parent
4d8765a2dd
commit
400bf31776
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user