* lisp/dired.el (dired-find-alternate-file): Doc fix. (Bug#28963)
This commit is contained in:
parent
9e442a001a
commit
9715317dfd
1 changed files with 2 additions and 1 deletions
|
@ -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)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue