summaryrefslogtreecommitdiff
path: root/lisp/dired.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2014-02-07 22:20:17 -0800
committerLars Ingebrigtsen <larsi@gnus.org>2014-02-07 22:20:17 -0800
commit574e477fb64ab8b6ca12bbd522210e5ac8d13eeb (patch)
tree3ce8114c917b373d6eadfa852d60ad3c7797365d /lisp/dired.el
parent8cff064c5e9b3fb7cdff4eea50d0d7dd31a3aa6f (diff)
downloademacs-574e477fb64ab8b6ca12bbd522210e5ac8d13eeb.tar.gz
(dired-up-directory): Doc fix (bug#14848).
Diffstat (limited to 'lisp/dired.el')
-rw-r--r--lisp/dired.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/dired.el b/lisp/dired.el
index 742c9583941..5e0c9047005 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -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))))