Function: erc-auth-source-search
erc-auth-source-search is a byte-compiled function defined in
erc.el.gz.
Signature
(erc-auth-source-search &rest PLIST)
Documentation
Call auth-source-search, possibly with keyword params in PLIST.
If the search signals an error before returning, warn the user
and ask whether to continue connecting anyway.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-auth-source-search (&rest plist)
"Call `auth-source-search', possibly with keyword params in PLIST.
If the search signals an error before returning, `warn' the user
and ask whether to continue connecting anyway."
;; These exist as separate helpers in case folks should find them
;; useful. If that's you, please request that they be exported.
(condition-case err
(apply #'erc--auth-source-search
(apply #'erc--auth-source-determine-params-merge plist))
(error
(erc--lwarn '(erc auth-source) :error
"Problem querying `auth-source': %S. See %S for more."
(error-message-string err)
'(info "(erc) auth-source Troubleshooting"))
(when (or noninteractive
(not (y-or-n-p "Ignore auth-source error and continue? ")))
(signal (car err) (cdr err))))))