mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
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.
This commit is contained in:
parent
1b88404acc
commit
aaa32f3942
1 changed files with 1 additions and 0 deletions
|
|
@ -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"))))
|
||||
|
|
|
|||
Loading…
Reference in a new issue