From 92618d767d1c2cc52c57d2c157998d2fd103f34c Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Mon, 5 Mar 2018 15:29:15 -0500 Subject: [PATCH] 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. --- lisp/auth-source.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 -- 2.39.5