diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2016-02-14 15:08:40 +1100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2016-02-14 15:08:40 +1100 |
commit | 598ff2349eb8e3c9fc3a17d14899abe6a1e3c534 (patch) | |
tree | 49c59111b5c01395f1684adf031d56ca3b38575f /lisp/gnus/nnimap.el | |
parent | 920414f2417afbbb37bb38b91ebd8792fb1929cb (diff) | |
download | emacs-598ff2349eb8e3c9fc3a17d14899abe6a1e3c534.tar.gz |
Use open-network-stream instead of open-protocol-stream
* lisp/gnus/nnimap.el: Use open-network-stream instead of
open-protocol-stream.
* lisp/gnus/nntp.el: Ditto.
* lisp/gnus/pop3.el: Ditto.
* lisp/gnus/sieve-manage.el: Ditto.
* lisp/net/network-stream.el (open-protocol-stream): Make obsolete.
Diffstat (limited to 'lisp/gnus/nnimap.el')
-rw-r--r-- | lisp/gnus/nnimap.el | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index 0e8fb669082..66096ff2367 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el @@ -26,13 +26,6 @@ ;;; Code: -(eval-and-compile - (require 'nnheader) - ;; In Emacs 24, `open-protocol-stream' is an autoloaded alias for - ;; `make-network-stream'. - (unless (fboundp 'open-protocol-stream) - (require 'proto-stream))) - (eval-when-compile (require 'cl)) @@ -424,7 +417,7 @@ textual parts.") (when nnimap-server-port (push nnimap-server-port ports)) (let* ((stream-list - (open-protocol-stream + (open-network-stream "*nnimap*" (current-buffer) nnimap-address (nnimap-map-port (car ports)) :type nnimap-stream |