* test/lisp/eshell/eshell-tests.el (with-temp-eshell):
Avoid permanently changing HISTFILE.
This commit is contained in:
parent
f8179cd366
commit
87bc518afc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue