From 87bc518afcc3adc23762944ef49f89d375f90260 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sun, 9 Dec 2018 15:54:35 -0800 Subject: [PATCH] * test/lisp/eshell/eshell-tests.el (with-temp-eshell): Avoid permanently changing HISTFILE. --- test/lisp/eshell/eshell-tests.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lisp/eshell/eshell-tests.el b/test/lisp/eshell/eshell-tests.el index cefbeef5677..330dd87ae4c 100644 --- a/test/lisp/eshell/eshell-tests.el +++ b/test/lisp/eshell/eshell-tests.el @@ -33,7 +33,7 @@ `(let* ((eshell-directory-name (make-temp-file "eshell" t)) ;; We want no history file, so prevent Eshell from falling ;; back on $HISTFILE. - (_ (setenv "HISTFILE")) + (process-environment (cons "HISTFILE" process-environment)) (eshell-history-file-name nil) (eshell-buffer (eshell t))) (unwind-protect -- 2.39.2