comparison lisp/url/url-news.el @ 83219:e86fc76a45e4

Merged in changes from CVS trunk. Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-611 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-612 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-613 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-614 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-615 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-46 Update from CVS * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-47 Merge from emacs--cvs-trunk--0 * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-48 Update from CVS * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-49 Add {arch}/=commit-merge-make-log * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-50 {arch}/=commit-merge-make-log: Don't die if there are no ChangeLog changes git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-259
author Karoly Lorentey <lorentey@elte.hu>
date Thu, 14 Oct 2004 14:42:03 +0000
parents 47f53c5c9620 202c408c174b
children ae7fab96922c
comparison
equal deleted inserted replaced
83218:47f53c5c9620 83219:e86fc76a45e4
1 ;;; url-news.el --- News Uniform Resource Locator retrieval code 1 ;;; url-news.el --- News Uniform Resource Locator retrieval code
2 ;; Keywords: comm, data, processes 2 ;; Keywords: comm, data, processes
3 3
4 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 4 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
5 ;;; Copyright (c) 1996 - 1999 Free Software Foundation, Inc. 5 ;;; Copyright (c) 1996 - 1999, 2004 Free Software Foundation, Inc.
6 ;;; 6 ;;;
7 ;;; This file is part of GNU Emacs. 7 ;;; This file is part of GNU Emacs.
8 ;;; 8 ;;;
9 ;;; GNU Emacs is free software; you can redistribute it and/or modify 9 ;;; GNU Emacs is free software; you can redistribute it and/or modify
10 ;;; it under the terms of the GNU General Public License as published by 10 ;;; it under the terms of the GNU General Public License as published by
123 (url-news-fetch-newsgroup article host))) 123 (url-news-fetch-newsgroup article host)))
124 buf)) 124 buf))
125 125
126 ;;;###autoload 126 ;;;###autoload
127 (defun url-snews (url) 127 (defun url-snews (url)
128 (let ((nntp-open-connection-function 'nntp-open-ssl-stream)) 128 (let ((nntp-open-connection-function (if (eq 'tls url-gateway-method)
129 nntp-open-tls-stream
130 nntp-open-ssl-stream)))
129 (url-news url))) 131 (url-news url)))
130 132
131 (provide 'url-news) 133 (provide 'url-news)
132 134
133 ;;; arch-tag: 8975be13-04e8-4d38-bfff-47918e3ad311 135 ;;; arch-tag: 8975be13-04e8-4d38-bfff-47918e3ad311