Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
bc2c0769
Commit
bc2c0769
authored
Sep 13, 2013
by
Glenn Morris
Browse files
* test/automated/eshell.el (eshell-test-command-result): Clean up when done
parent
6ad9cb08
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
test/automated/eshell.el
test/automated/eshell.el
+3
-1
No files found.
test/automated/eshell.el
View file @
bc2c0769
...
...
@@ -60,7 +60,9 @@
"Like `eshell-command-result', but not using HOME."
(
let
((
eshell-directory-name
(
make-temp-file
"eshell"
t
))
(
eshell-history-file-name
nil
))
(
eshell-command-result
command
)))
(
unwind-protect
(
eshell-command-result
command
)
(
delete-directory
eshell-directory-name
t
))))
;;; Tests:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment