[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master aaa32f3: Fix a problem of cus-start.el for remote default directo
From: |
Michael Albinus |
Subject: |
master aaa32f3: Fix a problem of cus-start.el for remote default directories |
Date: |
Fri, 2 Jul 2021 04:01:54 -0400 (EDT) |
branch: master
commit aaa32f39420826bdbca30a3bc6212c38c267cda6
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>
Fix a problem of cus-start.el for remote default directories
* lisp/cus-start.el: Bind `default-directory' to "/" when calling
`shell-command-to-string' for a local value on DARWIN.
---
lisp/cus-start.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/cus-start.el b/lisp/cus-start.el
index b7afef6..3c2625a 100644
--- a/lisp/cus-start.el
+++ b/lisp/cus-start.el
@@ -285,6 +285,7 @@ Leaving \"Default\" unchecked is equivalent with specifying
a default of
(or (getenv "TMPDIR") (getenv "TMP") (getenv "TEMP")
;; See bug#7135.
(let* (file-name-handler-alist
+ (default-directory "/")
(tmp (ignore-errors
(shell-command-to-string
"getconf DARWIN_USER_TEMP_DIR"))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master aaa32f3: Fix a problem of cus-start.el for remote default directories,
Michael Albinus <=