From 9715317dfd1de4901ca62a49ca2f0f5be2782389 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 27 Oct 2017 17:57:58 +0300 Subject: [PATCH] * lisp/dired.el (dired-find-alternate-file): Doc fix. (Bug#28963) --- lisp/dired.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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))) -- 2.39.2