Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
59759f1f
Commit
59759f1f
authored
Feb 04, 2003
by
Richard M. Stallman
Browse files
(dired-find-buffer-nocreate): Avoid error if dired-directory is nil.
parent
334a2130
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
lisp/dired.el
lisp/dired.el
+1
-0
No files found.
lisp/dired.el
View file @
59759f1f
...
...
@@ -589,6 +589,7 @@ If DIRNAME is already in a dired buffer, that buffer is used without refresh."
(
save-excursion
(
set-buffer
(
cdr
(
car
blist
)))
(
if
(
and
(
eq
major-mode
mode
)
dired-directory
;; nil during find-alternate-file
(
equal
dirname
(
expand-file-name
(
if
(
consp
dired-directory
)
...
...
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