1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-20 23:20:36 -08:00

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

This commit is contained in:
Lars Ingebrigtsen 2014-02-07 22:20:17 -08:00
parent 8cff064c5e
commit 574e477fb6
2 changed files with 4 additions and 1 deletions

View file

@ -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).

View file

@ -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))))