[gnus git] branch master updated: n0-17-42-g559f09a =1= nntp.el (nntp-open-connection): Check if process-type is available.
Katsumi Yamaoka <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via 559f09a8d6d4f34dbce9a6fcd22b7cb29ec2665a (commit)
from c0a090e1ab6cbddff4547fb6577d31972287d60e (commit)
- Log -----------------------------------------------------------------
commit 559f09a8d6d4f34dbce9a6fcd22b7cb29ec2665a
Author: Katsumi Yamaoka <[email protected]>
Date: Mon May 16 14:44:41 2011 +0000
nntp.el (nntp-open-connection): Check if process-type is available.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 0d8e984..b537375 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2011-05-16 Katsumi Yamaoka <[email protected]>
+
+ * nntp.el (nntp-open-connection): Check if process-type is available.
+
2011-05-16 Julien Danjou <[email protected]>
* shr.el (shr-tag-del): Add support for del tag.
diff --git a/lisp/lpath.el b/lisp/lpath.el
index 70e3bc5..857a536 100644
--- a/lisp/lpath.el
+++ b/lisp/lpath.el
@@ -35,7 +35,7 @@
epg-check-configuration find-coding-system frame-device gnutls-negotiate
libxml-parse-html-region recenter-top-bottom rmail-swap-buffers-maybe
shr-insert-document w3-do-setup w3-parse-buffer w3-prepare-buffer
- w3-region w3m-detect-meta-charset w3m-region process-type))
+ w3-region w3m-detect-meta-charset w3m-region))
(maybe-bind
'(epa-file-encrypt-to w3m-link-map))))
@@ -67,13 +67,13 @@
image-type-available-p insert-image libxml-parse-html-region
mail-abbrevs-setup make-mode-line-mouse-map make-network-process
mouse-minibuffer-check mouse-movement-p mouse-scroll-subr overlay-lists
- pgg-display-output-buffer posn-point posn-window put-image
+ pgg-display-output-buffer posn-point posn-window process-type put-image
read-char-choice read-event recenter-top-bottom
rmail-msg-restore-non-pruned-header rmail-swap-buffers-maybe
- select-safe-coding-system shr-insert-document sort-coding-systems
- track-mouse ucs-to-char url-generic-parse-url url-insert-file-contents
- vcard-pretty-print w3-parse-buffer w3m-detect-meta-charset w3m-region
- window-edges set-network-process-option process-type))
+ select-safe-coding-system set-network-process-option shr-insert-document
+ sort-coding-systems track-mouse ucs-to-char url-generic-parse-url
+ url-insert-file-contents vcard-pretty-print w3-parse-buffer
+ w3m-detect-meta-charset w3m-region window-edges))
(maybe-bind
'(adaptive-fill-first-line-regexp
buffer-display-table buffer-save-without-query completion-styles
diff --git a/lisp/nntp.el b/lisp/nntp.el
index aa4b918..cdd12ab 100644
--- a/lisp/nntp.el
+++ b/lisp/nntp.el
@@ -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.
-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.
Summary of changes:
lisp/ChangeLog | 4 ++++
lisp/lpath.el | 12 ++++++------
lisp/nntp.el | 3 ++-
3 files changed, 12 insertions(+), 7 deletions(-)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".
The branch, master has been updated
hooks/post-receive
--
Gnus Project