mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-11 00:30:17 -08:00
; Fix logic of $HOME adjustment for 'ert-remote-temporary-file-directory'
* lisp/emacs-lisp/ert-x.el (ert-remote-temporary-file-directory): Only adjust $HOME when it doesn't exist (bug#58265).
This commit is contained in:
parent
6a5169e747
commit
43eaa05ff2
1 changed files with 1 additions and 1 deletions
|
|
@ -568,7 +568,7 @@ The same keyword arguments are supported as in
|
|||
`("\\`mock\\'" nil ,(system-name)))
|
||||
;; Emacs's Makefile sets $HOME to a nonexistent value. Needed
|
||||
;; in batch mode only, therefore.
|
||||
(unless (and (null noninteractive) (file-directory-p "~/"))
|
||||
(when (and noninteractive (not (file-directory-p "~/")))
|
||||
(setenv "HOME" temporary-file-directory))
|
||||
(format "/mock::%s" temporary-file-directory))))
|
||||
"Temporary directory for remote file tests.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue