emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r114253: * test/automated/eshell.el (with-temp-eshel


From: Glenn Morris
Subject: [Emacs-diffs] trunk r114253: * test/automated/eshell.el (with-temp-eshell): Avoid hangs in batch mode
Date: Thu, 12 Sep 2013 20:39:16 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 114253
revision-id: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Thu 2013-09-12 16:39:13 -0400
message:
  * test/automated/eshell.el (with-temp-eshell): Avoid hangs in batch mode
  due to "has a running proces; kill it?" prompts.
modified:
  test/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-8588
  test/automated/eshell.el       eshtest.el-20091113204419-o5vbwnq5f7feedwu-1875
=== modified file 'test/ChangeLog'
--- a/test/ChangeLog    2013-09-12 20:15:53 +0000
+++ b/test/ChangeLog    2013-09-12 20:39:13 +0000
@@ -1,3 +1,8 @@
+2013-09-12  Glenn Morris  <address@hidden>
+
+       * 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  <address@hidden>
 
        * automated/eshell.el: Rename from eshell.el.

=== modified file 'test/automated/eshell.el'
--- a/test/automated/eshell.el  2013-09-12 20:15:53 +0000
+++ b/test/automated/eshell.el  2013-09-12 20:39:13 +0000
@@ -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."


reply via email to

[Prev in Thread] Current Thread [Next in Thread]