aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/gnus/ChangeLog6
-rw-r--r--lisp/gnus/pop3.el9
2 files changed, 14 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 2c4d98b4d16..9fc46ad8441 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,9 @@
12010-09-05 Katsumi Yamaoka <yamaoka@jpl.org>
2
3 * pop3.el (pop3-set-process-query-on-exit-flag): New function that's an
4 alias to set-process-query-on-exit-flag or process-kill-without-query.
5 (pop3-open-server): Use it.
6
12010-09-04 Lars Magne Ingebrigtsen <larsi@gnus.org> 72010-09-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 8
3 * mail-source.el (mail-source-delete-crash-box): Always move the crash 9 * mail-source.el (mail-source-delete-crash-box): Always move the crash
diff --git a/lisp/gnus/pop3.el b/lisp/gnus/pop3.el
index ed311aa8881..048c0d8a022 100644
--- a/lisp/gnus/pop3.el
+++ b/lisp/gnus/pop3.el
@@ -301,6 +301,13 @@ this is nil, `ssl' is assumed for connexions to port
301 (const :tag "SSL/TLS" ssl) 301 (const :tag "SSL/TLS" ssl)
302 (const starttls))) 302 (const starttls)))
303 303
304(eval-and-compile
305 (if (fboundp 'set-process-query-on-exit-flag)
306 (defalias 'pop3-set-process-query-on-exit-flag
307 'set-process-query-on-exit-flag)
308 (defalias 'pop3-set-process-query-on-exit-flag
309 'process-kill-without-query)))
310
304(defun pop3-open-server (mailhost port) 311(defun pop3-open-server (mailhost port)
305 "Open TCP connection to MAILHOST on PORT. 312 "Open TCP connection to MAILHOST on PORT.
306Returns the process associated with the connection." 313Returns the process associated with the connection."
@@ -361,7 +368,7 @@ Returns the process associated with the connection."
361 (setq pop3-timestamp 368 (setq pop3-timestamp
362 (substring response (or (string-match "<" response) 0) 369 (substring response (or (string-match "<" response) 0)
363 (+ 1 (or (string-match ">" response) -1))))) 370 (+ 1 (or (string-match ">" response) -1)))))
364 (set-process-query-on-exit-flag process nil) 371 (pop3-set-process-query-on-exit-flag process nil)
365 process))) 372 process)))
366 373
367;; Support functions 374;; Support functions