summaryrefslogtreecommitdiff
path: root/lisp/gnus/nntp.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2022-07-16 09:54:59 +0200
committerStefan Kangas <stefan@marxist.se>2022-08-02 17:26:27 +0200
commit409b581b09e35e65a1cfee87968c2713e2d3b970 (patch)
tree3ab2c4f1e9fafc70644300ef96a9ba215d7a8b71 /lisp/gnus/nntp.el
parent0443f3f660990cb0fb3a2a8a1a98d37b76edd04d (diff)
downloademacs-409b581b09e35e65a1cfee87968c2713e2d3b970.tar.gz
emacs-409b581b09e35e65a1cfee87968c2713e2d3b970.tar.bz2
emacs-409b581b09e35e65a1cfee87968c2713e2d3b970.zip
Delete obsolete variable nntp-authinfo-file
* lisp/gnus/nntp.el (nntp-authinfo-file): Delete variable obsolete since 24.1.
Diffstat (limited to 'lisp/gnus/nntp.el')
-rw-r--r--lisp/gnus/nntp.el21
1 files changed, 1 insertions, 20 deletions
diff --git a/lisp/gnus/nntp.el b/lisp/gnus/nntp.el
index 9902a280d50..b26afe6e783 100644
--- a/lisp/gnus/nntp.el
+++ b/lisp/gnus/nntp.el
@@ -217,25 +217,6 @@ then use this hook to rsh to the remote machine and start a proxy NNTP
server there that you can connect to. See also
`nntp-open-connection-function'")
-(defcustom nntp-authinfo-file "~/.authinfo"
- ".netrc-like file that holds nntp authinfo passwords."
- :type
- '(choice file
- (repeat :tag "Entries"
- :menu-tag "Inline"
- (list :format "%v"
- :value ("" ("login" . "") ("password" . ""))
- (string :tag "Host")
- (checklist :inline t
- (cons :format "%v"
- (const :format "" "login")
- (string :format "Login: %v"))
- (cons :format "%v"
- (const :format "" "password")
- (string :format "Password: %v")))))))
-
-(make-obsolete-variable 'nntp-authinfo-file 'netrc-file "24.1")
-
(defvoo nntp-connection-timeout nil
@@ -1166,7 +1147,7 @@ and a password.
If SEND-IF-FORCE, only send authinfo to the server if the
.authinfo file has the FORCE token."
(require 'netrc)
- (let* ((list (netrc-parse nntp-authinfo-file))
+ (let* ((list (netrc-parse))
(alist (netrc-machine list nntp-address "nntp"))
(auth-info
(nth 0 (auth-source-search