From: Glenn Morris Date: Thu, 12 Sep 2013 20:39:13 +0000 (-0400) Subject: * test/automated/eshell.el (with-temp-eshell): Avoid hangs in batch mode X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~1656 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2d5788f46de3758fc468592cb2f17390c5c07db6;p=emacs.git * test/automated/eshell.el (with-temp-eshell): Avoid hangs in batch mode due to "has a running proces; kill it?" prompts. --- diff --git a/test/ChangeLog b/test/ChangeLog index 3e42e18b2b4..70f9f378d39 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,3 +1,8 @@ +2013-09-12 Glenn Morris + + * 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 * automated/eshell.el: Rename from eshell.el. diff --git a/test/automated/eshell.el b/test/automated/eshell.el index a7df2945424..a78c34e4f39 100644 --- a/test/automated/eshell.el +++ b/test/automated/eshell.el @@ -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."