due to "has a running proces; kill it?" prompts.
+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.
(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."