Commit 574e477f authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

(dired-up-directory): Doc fix (bug#14848).

parent 8cff064c
......@@ -2,6 +2,7 @@
* dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
(dired-prev-marked-file): Doc fix (bug#14855).
(dired-up-directory): Doc fix (bug#14848).
* minibuffer.el (read-file-name): Doc clarification (bug#15096).
......
......@@ -2045,7 +2045,9 @@ Optional prefix ARG says how many lines to move; default is one line."
(defun dired-up-directory (&optional other-window)
"Run Dired on parent directory of current directory.
Find the parent directory either in this buffer or another buffer.
Creates a buffer if necessary."
Creates a buffer if necessary.
If OTHER-WINDOW (the optional prefix arg), display the parent
directory in another window."
(interactive "P")
(let* ((dir (dired-current-directory))
(up (file-name-directory (directory-file-name dir))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment