* test/automated/eshell.el (with-temp-eshell): Avoid hangs in batch mode

due to "has a running proces; kill it?" prompts.
This commit is contained in:
Glenn Morris 2013-09-12 16:39:13 -04:00
parent 51e14f13f0
commit 2d5788f46d
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2013-09-12 Glenn Morris <rgm@gnu.org>
* automated/eshell.el (with-temp-eshell): Avoid hangs in batch mode
due to "has a running proces; kill it?" prompts.
2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
* automated/eshell.el: Rename from eshell.el.

View file

@ -34,7 +34,8 @@
(unwind-protect
(with-current-buffer eshell-buffer
,@body)
(kill-buffer eshell-buffer))))
(let (kill-buffer-query-functions)
(kill-buffer eshell-buffer)))))
(defun eshell-insert-command (text &optional func)
"Insert a command at the end of the buffer."