From 8810330f30ca1b251534106f9de7d5190c0cf633 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Thu, 4 Aug 2022 17:14:23 +0200 Subject: [PATCH] Add obsolete-since header to netrc.el * lisp/obsolete/netrc.el: Add obsolete-since header (bug#56976). --- etc/NEWS | 5 +++++ lisp/obsolete/netrc.el | 3 +++ 2 files changed, 8 insertions(+) diff --git a/etc/NEWS b/etc/NEWS index 314fa870edd..2fb83e19236 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -356,6 +356,11 @@ Use something like 'M-x shell RET ssh RET' instead. ** The autoload.el library is now obsolete. It is superseded by the loaddefs-gen.el library. +--- +** The netrc.el library is now obsolete. +Use the 'auth-source-netrc-parse-all' function in auth-source.el +instead. + --- ** The url-dired.el library is now obsolete. diff --git a/lisp/obsolete/netrc.el b/lisp/obsolete/netrc.el index 2f38e221781..e01c9daad67 100644 --- a/lisp/obsolete/netrc.el +++ b/lisp/obsolete/netrc.el @@ -4,6 +4,9 @@ ;; Author: Lars Magne Ingebrigtsen ;; Keywords: news +;; Obsolete-since: 29.1 +;; +;; Instead of using `netrc-parse', use `auth-source-netrc-parse-all'. ;; ;; Modularized by Ted Zlatanov ;; when it was part of Gnus. -- 2.39.2