diff options
| author | Lars Ingebrigtsen | 2016-02-14 14:50:53 +1100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-02-14 14:50:53 +1100 |
| commit | 374c21d59a3e2b8a49c7e4ecc466edb5313dbb98 (patch) | |
| tree | b2fc2f635074e1e0c39ea6d3fd9a2668092e29ea | |
| parent | 2366c7036d0e784592904e94c1c5bfac37760659 (diff) | |
| download | emacs-374c21d59a3e2b8a49c7e4ecc466edb5313dbb98.tar.gz emacs-374c21d59a3e2b8a49c7e4ecc466edb5313dbb98.zip | |
Remove compat function from pop3
* lisp/gnus/pop3.el (pop3-set-process-query-on-exit-flag): Remove.
| -rw-r--r-- | lisp/gnus/pop3.el | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lisp/gnus/pop3.el b/lisp/gnus/pop3.el index 41ebe986220..0b1f5c89d3e 100644 --- a/lisp/gnus/pop3.el +++ b/lisp/gnus/pop3.el | |||
| @@ -533,13 +533,6 @@ this is nil, `ssl' is assumed for connections to port | |||
| 533 | (const :tag "SSL/TLS" ssl) | 533 | (const :tag "SSL/TLS" ssl) |
| 534 | (const starttls))) | 534 | (const starttls))) |
| 535 | 535 | ||
| 536 | (eval-and-compile | ||
| 537 | (if (fboundp 'set-process-query-on-exit-flag) | ||
| 538 | (defalias 'pop3-set-process-query-on-exit-flag | ||
| 539 | 'set-process-query-on-exit-flag) | ||
| 540 | (defalias 'pop3-set-process-query-on-exit-flag | ||
| 541 | 'process-kill-without-query))) | ||
| 542 | |||
| 543 | (defun pop3-open-server (mailhost port) | 536 | (defun pop3-open-server (mailhost port) |
| 544 | "Open TCP connection to MAILHOST on PORT. | 537 | "Open TCP connection to MAILHOST on PORT. |
| 545 | Returns the process associated with the connection." | 538 | Returns the process associated with the connection." |
| @@ -576,7 +569,7 @@ Returns the process associated with the connection." | |||
| 576 | (setq pop3-timestamp | 569 | (setq pop3-timestamp |
| 577 | (substring response (or (string-match "<" response) 0) | 570 | (substring response (or (string-match "<" response) 0) |
| 578 | (+ 1 (or (string-match ">" response) -1))))) | 571 | (+ 1 (or (string-match ">" response) -1))))) |
| 579 | (pop3-set-process-query-on-exit-flag (car result) nil) | 572 | (set-process-query-on-exit-flag (car result) nil) |
| 580 | (erase-buffer) | 573 | (erase-buffer) |
| 581 | (car result))))) | 574 | (car result))))) |
| 582 | 575 | ||