projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8179cd
)
* test/lisp/eshell/eshell-tests.el (with-temp-eshell):
author
Glenn Morris
<rgm@gnu.org>
Sun, 9 Dec 2018 23:54:35 +0000
(15:54 -0800)
committer
Glenn Morris
<rgm@gnu.org>
Sun, 9 Dec 2018 23:56:48 +0000
(15:56 -0800)
Avoid permanently changing HISTFILE.
test/lisp/eshell/eshell-tests.el
patch
|
blob
|
history
diff --git
a/test/lisp/eshell/eshell-tests.el
b/test/lisp/eshell/eshell-tests.el
index cefbeef5677c3ba26d36bd2b4b517ebef7448e4f..330dd87ae4cc82b367cc09ef8f3db2977dbfcd8e 100644
(file)
--- 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