Function: auth-source-backend-parse
auth-source-backend-parse is a byte-compiled function defined in
auth-source.el.gz.
Signature
(auth-source-backend-parse ENTRY)
Documentation
Create an auth-source-backend(var)/auth-source-backend(fun) from an ENTRY in auth-sources.
Source Code
;; Defined in /usr/src/emacs/lisp/auth-source.el.gz
(defun auth-source-backend-parse (entry)
"Create an `auth-source-backend' from an ENTRY in `auth-sources'."
(let ((backend
(run-hook-with-args-until-success 'auth-source-backend-parser-functions
entry)))
(unless backend
;; none of the parsers worked
(auth-source-do-warn
"auth-source-backend-parse: invalid backend spec: %S" entry)
(setq backend (make-instance 'auth-source-backend
:source ""
:type 'ignore)))
(auth-source-backend-parse-parameters entry backend)))