mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Clarify dired-jump doc string
* lisp/dired.el (dired-jump): Make the doc string say what happens in buffers not visiting files (bug#14733).
This commit is contained in:
parent
28019ccf0c
commit
7ee5d36008
1 changed files with 8 additions and 1 deletions
|
|
@ -4495,11 +4495,18 @@ 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 file, Dired the current directory and move to file's line.
|
||||
If in a buffer visiting a file, Dired the current directory and
|
||||
move to that file's line.
|
||||
|
||||
If the current buffer isn't visiting a file, jump to the
|
||||
`default-directory' Dired buffer.
|
||||
|
||||
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
|
||||
buffer and try again.
|
||||
|
||||
When OTHER-WINDOW is non-nil, jump to Dired buffer in other window.
|
||||
|
||||
When FILE-NAME is non-nil, jump to its line in Dired.
|
||||
Interactively with prefix argument, read FILE-NAME."
|
||||
(interactive
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue