summaryrefslogtreecommitdiff
path: root/lisp/dired.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2022-07-09 10:21:31 +0200
committerStefan Kangas <stefan@marxist.se>2022-07-09 11:47:52 +0200
commitd74dad673b854b011b23853d298c9a8f86d2d6ad (patch)
tree10dd53d0df7feb335d8181e4e0031bfb9310d6b2 /lisp/dired.el
parent04f1396640f2af1a3be2ba48181c4e9242e6e77c (diff)
downloademacs-d74dad673b854b011b23853d298c9a8f86d2d6ad.tar.gz
Bind M-G unconditionally in Dired
* lisp/dired-x.el: Move dired-goto-subdir binding from here... * lisp/dired.el (dired-mode-map): ...to here. (Bug#21981) * doc/misc/dired-x.texi (Miscellaneous Commands): Move documentation of above command from here... * doc/emacs/dired.texi (Subdirectory Motion): ...to here.
Diffstat (limited to 'lisp/dired.el')
-rw-r--r--lisp/dired.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/dired.el b/lisp/dired.el
index bdcfc36a0e0..b9ab2a9b1e6 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -2174,6 +2174,7 @@ Do so according to the former subdir alist OLD-SUBDIR-ALIST."
"S-SPC" #'dired-previous-line
"<remap> <next-line>" #'dired-next-line
"<remap> <previous-line>" #'dired-previous-line
+ "M-G" #'dired-goto-subdir
;; hiding
"$" #'dired-hide-subdir
"M-$" #'dired-hide-all