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
fb145562
Commit
fb145562
authored
Oct 02, 1994
by
Richard M. Stallman
Browse files
(file-truename): If name has no dir, use default-directory.
parent
4dedbfe0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lisp/files.el
lisp/files.el
+1
-1
No files found.
lisp/files.el
View file @
fb145562
...
...
@@ -372,7 +372,7 @@ Do not specify them in other calls."
(if handler
(setq filename (funcall handler 'file-truename filename)
done t)
(let ((dir (file-name-directory filename))
(let ((dir
(or
(file-name-directory filename)
default-directory)
)
target dirfile)
;; Get the truename of the directory.
(setq dirfile (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