diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2021-07-02 10:01:46 +0200 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2021-07-02 10:01:46 +0200 |
commit | aaa32f39420826bdbca30a3bc6212c38c267cda6 (patch) | |
tree | b910c8ece8edcf94e0bd61c20238b48e769add60 /lisp/cus-start.el | |
parent | 1b88404acc4b6399b617dac2b14f1eaa78135670 (diff) | |
download | emacs-aaa32f39420826bdbca30a3bc6212c38c267cda6.tar.gz |
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.
Diffstat (limited to 'lisp/cus-start.el')
-rw-r--r-- | lisp/cus-start.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/cus-start.el b/lisp/cus-start.el index b7afef6516d..3c2625a8c31 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")))) |