From: Eli Zaretskii Date: Sat, 21 Aug 2021 14:38:27 +0000 (+0300) Subject: ; * lisp/dired.el (dired-jump): Doc fix. X-Git-Tag: emacs-28.0.90~1377 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=69637fe7a612733177b72479269930562d4ba386;p=emacs.git ; * lisp/dired.el (dired-jump): Doc fix. --- diff --git a/lisp/dired.el b/lisp/dired.el index 3789bef0efb..950323f366a 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -4495,11 +4495,10 @@ Ask means pop up a menu for the user to select one of copy, move or link." ;;;###autoload (defun dired-jump (&optional other-window file-name) "Jump to Dired buffer corresponding to current buffer. -If in a buffer visiting a file, Dired the current directory and -move to that file's line. +If in a buffer visiting a file, Dired that file's directory and +move to that file's line in the directory listing. -If the current buffer isn't visiting a file, jump to the -`default-directory' Dired buffer. +If the current buffer isn't visiting a file, Dired `default-directory'. If in Dired already, pop up a level and goto old directory's line. In case the proper Dired file line cannot be found, refresh the dired