diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2022-08-04 17:09:46 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-08-04 17:09:46 +0200 |
commit | 3bc7b5f412c52c099f0a16ab4d7bdf000293c164 (patch) | |
tree | f0d622f938728eb37daa9be113ec904c231eba99 /lisp/auth-source.el | |
parent | 22a2ad13f50f4a5f8e28ce93730d665a33964b80 (diff) | |
download | emacs-3bc7b5f412c52c099f0a16ab4d7bdf000293c164.tar.gz emacs-3bc7b5f412c52c099f0a16ab4d7bdf000293c164.tar.bz2 emacs-3bc7b5f412c52c099f0a16ab4d7bdf000293c164.zip |
Use auth-source in tramp-parse-netrc
* lisp/auth-source.el (auth-source-netrc-parse-all): Autoload.
* lisp/net/tramp.el (tramp-parse-netrc): Don't use netrc-parse,
because it's going to be made obsolete (bug#56976).
Diffstat (limited to 'lisp/auth-source.el')
-rw-r--r-- | lisp/auth-source.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/auth-source.el b/lisp/auth-source.el index 48f9517683d..f198362f106 100644 --- a/lisp/auth-source.el +++ b/lisp/auth-source.el @@ -909,6 +909,7 @@ Remove trailing \": \"." (defun auth-source--aget (alist key) (cdr (assoc key alist))) +;;;###autoload (defun auth-source-netrc-parse-all (file) "Parse FILE and return all entries." (auth-source-netrc-parse :file file :allow-null t)) |