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
4269ed64
Commit
4269ed64
authored
Apr 19, 1993
by
Roland McGrath
Browse files
(find-file-noselect): Never set SAME-TRUENAME to a buffer whose
buffer-file-name is nil.
parent
a292c99f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lisp/files.el
lisp/files.el
+2
-1
No files found.
lisp/files.el
View file @
4269ed64
...
...
@@ -468,7 +468,8 @@ The buffer is not selected, just returned to the caller."
(
while
(
and
(
not
found
)
list
)
(
save-excursion
(
set-buffer
(
car
list
))
(
if
(
string=
buffer-file-truename
truename
)
(
if
(
and
buffer-file-name
(
string=
buffer-file-truename
truename
))
(
setq
found
(
car
list
))))
(
setq
list
(
cdr
list
)))
found
)))
...
...
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