aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lisp/eshell/eshell-tests.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lisp/eshell/eshell-tests.el b/test/lisp/eshell/eshell-tests.el
index b6dbd09a3d6..cefbeef5677 100644
--- a/test/lisp/eshell/eshell-tests.el
+++ b/test/lisp/eshell/eshell-tests.el
@@ -31,6 +31,9 @@
31(defmacro with-temp-eshell (&rest body) 31(defmacro with-temp-eshell (&rest body)
32 "Evaluate BODY in a temporary Eshell buffer." 32 "Evaluate BODY in a temporary Eshell buffer."
33 `(let* ((eshell-directory-name (make-temp-file "eshell" t)) 33 `(let* ((eshell-directory-name (make-temp-file "eshell" t))
34 ;; We want no history file, so prevent Eshell from falling
35 ;; back on $HISTFILE.
36 (_ (setenv "HISTFILE"))
34 (eshell-history-file-name nil) 37 (eshell-history-file-name nil)
35 (eshell-buffer (eshell t))) 38 (eshell-buffer (eshell t)))
36 (unwind-protect 39 (unwind-protect