Commit 7887e229 authored by Katsumi Yamaoka's avatar Katsumi Yamaoka
Browse files

nntp.el (nntp-open-connection): Check if process-type is available.

parent c0ad01c9
2011-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
* nntp.el (nntp-open-connection): Check if process-type is available.
2011-05-16 Julien Danjou <julien@danjou.info>
 
* shr.el (shr-tag-del): Add support for del tag.
......
......@@ -1362,7 +1362,8 @@ password contained in '~/.nntp-authinfo'."
(nntp-kill-buffer pbuffer))
(when (and (buffer-name pbuffer)
process)
(when (and (fboundp 'set-network-process-option)
(when (and (fboundp 'set-network-process-option) ;; Unavailable in XEmacs.
(fboundp 'process-type) ;; Emacs 22 doesn't provide it.
(eq (process-type process) 'network))
;; Use TCP-keepalive so that connections that pass through a NAT router
;; don't hang when left idle.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment