summaryrefslogtreecommitdiff
path: root/lisp/dired.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2017-10-27 17:57:58 +0300
committerEli Zaretskii <eliz@gnu.org>2017-10-27 17:57:58 +0300
commit9715317dfd1de4901ca62a49ca2f0f5be2782389 (patch)
treef40ff7fc360f4c15b6dc6e7c6833118c66d488fa /lisp/dired.el
parent9e442a001ab9ebe5836b1c42f8c1d7aa47d16754 (diff)
downloademacs-9715317dfd1de4901ca62a49ca2f0f5be2782389.tar.gz
* lisp/dired.el (dired-find-alternate-file): Doc fix. (Bug#28963)
Diffstat (limited to 'lisp/dired.el')
-rw-r--r--lisp/dired.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/dired.el b/lisp/dired.el
index 9e09d349f7c..dad58c615d5 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -2226,7 +2226,8 @@ directory in another window."
(find-file (dired-get-file-for-visit))))
(defun dired-find-alternate-file ()
- "In Dired, visit this file or directory instead of the Dired buffer."
+ "In Dired, visit file or directory on current line via `find-alternate-file'.
+This kills the Dired buffer, then visits the current line's file or directory."
(interactive)
(set-buffer-modified-p nil)
(find-alternate-file (dired-get-file-for-visit)))