Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
400bf317
Commit
400bf317
authored
Jul 07, 1995
by
Richard M. Stallman
Browse files
(find-dired): Undefine the g command.
parent
4d8765a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
lisp/find-dired.el
lisp/find-dired.el
+4
-0
No files found.
lisp/find-dired.el
View file @
400bf317
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment