projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2767c89
)
Use `temporary-file-directory' in `with-existing-directory'
author
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 25 Sep 2021 00:55:55 +0000
(
02:55
+0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 25 Sep 2021 00:55:55 +0000
(
02:55
+0200)
* lisp/subr.el (with-existing-directory): Use
`temporary-file-directory' over TMPDIR.
lisp/subr.el
patch
|
blob
|
history
diff --git
a/lisp/subr.el
b/lisp/subr.el
index 2d2794cfd1f16536c3dcf1189dd02c603e711c69..fd1ceb95f53f078efd7a0fda283bb19a05a127c6 100644
(file)
--- a/
lisp/subr.el
+++ b/
lisp/subr.el
@@
-4636,6
+4636,7
@@
If `default-directory' is already an existing directory, it's not changed."
(file-exists-p dir)))
(list default-directory
(expand-file-name "~/")
+ temporary-file-directory
(getenv "TMPDIR")
"/tmp/")
"/")))