(open-tls-stream): Don't query killing process.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sun, 26 Sep 2010 13:58:24 +0000 (15:58 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sun, 26 Sep 2010 13:58:24 +0000 (15:58 +0200)
From Dave Love  <fx@gnu.org>.

lisp/ChangeLog
lisp/tls.el

index 111f675..ab159ca 100644 (file)
@@ -1,3 +1,7 @@
+2009-02-07  Dave Love  <fx@gnu.org>
+
+       * tls.el (open-tls-stream): Don't query killing process.
+
 2009-02-08  Dave Love  <fx@gnu.org>
 
        * gnus-win.el (gnus-window-to-buffer-helper,
index 821daba..d4fa8c2 100644 (file)
@@ -238,6 +238,10 @@ Fourth arg PORT is an integer specifying a port to connect to."
          (setq process (start-process
                         name buffer shell-file-name shell-command-switch
                         formatted-cmd))
+         (funcall (if (fboundp 'set-process-query-on-exit-flag)
+                      'set-process-query-on-exit-flag
+                    'process-kill-without-query)
+                  process nil)
          (while (and process
                      (memq (process-status process) '(open run))
                      (progn