aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2018-12-09 15:54:35 -0800
committerGlenn Morris2018-12-09 15:56:48 -0800
commit87bc518afcc3adc23762944ef49f89d375f90260 (patch)
tree07e0e07139b89c66331885f2e2c0bb067679f388
parentf8179cd366664484e849849027cdf6ecd55dbae9 (diff)
downloademacs-87bc518afcc3adc23762944ef49f89d375f90260.tar.gz
emacs-87bc518afcc3adc23762944ef49f89d375f90260.zip
* test/lisp/eshell/eshell-tests.el (with-temp-eshell):
Avoid permanently changing HISTFILE.
-rw-r--r--test/lisp/eshell/eshell-tests.el2
1 files changed, 1 insertions, 1 deletions
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 @@
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 34 ;; We want no history file, so prevent Eshell from falling
35 ;; back on $HISTFILE. 35 ;; back on $HISTFILE.
36 (_ (setenv "HISTFILE")) 36 (process-environment (cons "HISTFILE" process-environment))
37 (eshell-history-file-name nil) 37 (eshell-history-file-name nil)
38 (eshell-buffer (eshell t))) 38 (eshell-buffer (eshell t)))
39 (unwind-protect 39 (unwind-protect