diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2016-02-12 15:02:32 +1100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2016-02-12 15:02:32 +1100 |
commit | 9f7711815b808d69f74af93c5a7a36ae6a73900c (patch) | |
tree | 18a9a7d30cf5a2ebaa6f22ded99f9d54e81a30bd /lisp/gnus/nnimap.el | |
parent | 37cf4454b1646481935e7b5bfffc8f64eb484b3a (diff) | |
download | emacs-9f7711815b808d69f74af93c5a7a36ae6a73900c.tar.gz emacs-9f7711815b808d69f74af93c5a7a36ae6a73900c.tar.bz2 emacs-9f7711815b808d69f74af93c5a7a36ae6a73900c.zip |
Remove XEmacs compat code from Gnus backends
* lisp/gnus/mm-view.el (mm-inline-image-xemacs): Remove.
(mm-inline-image): Rename from mm-inline-image-emacs.
* lisp/gnus/mml.el: Remove XEmacs compat code.
* lisp/gnus/nnheader.el: Remove XEmacs compat code.
* lisp/gnus/nnimap.el (nnimap-open-connection-1): Remove
XEmacs compat code.
* lisp/gnus/nnir.el (nnir-run-gmane): Remove XEmacs compat code.
* lisp/gnus/nnmail.el (nnmail-pathname-coding-system): Remove
XEmacs compat code.
* lisp/gnus/nnmairix.el: Remove XEmacs compat code.
* lisp/gnus/nnrss.el: Remove XEmacs compat code.
* lisp/gnus/nntp.el: Remove XEmacs compat code.
Diffstat (limited to 'lisp/gnus/nnimap.el')
-rw-r--r-- | lisp/gnus/nnimap.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index 7ad7b7ea4c5..8921a9c230a 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el @@ -447,9 +447,7 @@ textual parts.") (when (and stream (not (memq (process-status stream) '(open run)))) (setq stream nil)) - (when (and (fboundp 'set-network-process-option) ;; Not in XEmacs. - (fboundp 'process-type) ;; Emacs 22 doesn't provide it. - (eq (process-type stream) 'network)) + (when (eq (process-type stream) 'network) ;; Use TCP-keepalive so that connections that pass through a NAT ;; router don't hang when left idle. (set-network-process-option stream :keepalive t)) |