summaryrefslogtreecommitdiff
path: root/lisp/auth-source.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2018-03-05 15:29:15 -0500
committerGlenn Morris <rgm@gnu.org>2018-03-05 15:29:15 -0500
commit92618d767d1c2cc52c57d2c157998d2fd103f34c (patch)
treee5b576e9f92037437c076f29120e4763ffe497c6 /lisp/auth-source.el
parent7a38a6d8818b6f5be0b13957d06f4da7573e3ddd (diff)
downloademacs-92618d767d1c2cc52c57d2c157998d2fd103f34c.tar.gz
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.
Diffstat (limited to 'lisp/auth-source.el')
-rw-r--r--lisp/auth-source.el4
1 files changed, 1 insertions, 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