From: Glenn Morris Date: Mon, 5 Mar 2018 20:29:15 +0000 (-0500) Subject: Small auth-source-netrc-create fix X-Git-Tag: emacs-27.0.90~5548 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=92618d767d1c2cc52c57d2c157998d2fd103f34c;p=emacs.git Small auth-source-netrc-create fix * lisp/auth-source.el (auth-source-netrc-create): Fix handling of auth-source-netrc-use-gpg-tokens being a list. --- diff --git a/lisp/auth-source.el b/lisp/auth-source.el index 8ef5f7140ac..66e1897b877 100644 --- a/lisp/auth-source.el +++ b/lisp/auth-source.el @@ -1315,9 +1315,7 @@ See `auth-source-search' for details on SPEC." (string-match (car item) file)) (setq ret (cdr item)) (setq check nil))) - ;; FIXME: `ret' unused. - ;; Should we return it here? - )) + ret)) (t 'never))) (plain (or (eval default) (read-passwd prompt)))) ;; ask if we don't know what to do (in which case