Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
574e477f
Commit
574e477f
authored
Feb 07, 2014
by
Lars Ingebrigtsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(dired-up-directory): Doc fix (bug#14848).
parent
8cff064c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
lisp/ChangeLog
lisp/ChangeLog
+1
-0
lisp/dired.el
lisp/dired.el
+3
-1
No files found.
lisp/ChangeLog
View file @
574e477f
...
...
@@ -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).
...
...
lisp/dired.el
View file @
574e477f
...
...
@@ -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
))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment