Subject: bug#10931: 23.4; inconsistency between open-tls-stream and open-gnutls-stream

From: Leo <[email-masked]>
Date: Sat, 03 Mar 2012 17:24:35 +0800

I started using encrypted connection in rcirc and noticed the following
difference between Emacs built with gnutls and one without gnutls. The
one without gnutls kills my irc process implicitly when I exit emacs.

This is due to the following form in open-tls-stream:

(funcall (if (fboundp 'set-process-query-on-exit-flag)
		       'set-process-query-on-exit-flag
		     'process-kill-without-query)
		   process nil)

This inconsistency is annoying and has caused me to lose conversations
in IRC. I wonder if the behaviour in these two functions can be unified.

Thanks,
Leo