diff options
| author | Glenn Morris <rgm@gnu.org> | 2013-09-12 16:39:13 -0400 |
|---|---|---|
| committer | Glenn Morris <rgm@gnu.org> | 2013-09-12 16:39:13 -0400 |
| commit | 2d5788f46de3758fc468592cb2f17390c5c07db6 (patch) | |
| tree | 0fb2e32be1849ee7a2d57058fc2fe11ec16b9d9e | |
| parent | 51e14f13f084bc41b863e5cd0308f5fd7da23fff (diff) | |
| download | emacs-2d5788f46de3758fc468592cb2f17390c5c07db6.tar.gz | |
* test/automated/eshell.el (with-temp-eshell): Avoid hangs in batch mode
due to "has a running proces; kill it?" prompts.
| -rw-r--r-- | test/ChangeLog | 5 | ||||
| -rw-r--r-- | test/automated/eshell.el | 3 |
2 files changed, 7 insertions, 1 deletions
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 <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. 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." |
