mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
* lisp/dired.el (dired-find-alternate-file): Doc fix. (Bug#28963)
This commit is contained in:
parent
9e442a001a
commit
9715317dfd
@ -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…
Reference in New Issue
Block a user