1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 22:41:06 -08:00

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.
This commit is contained in:
Glenn Morris 2018-03-05 15:29:15 -05:00
parent 7a38a6d881
commit 92618d767d

View file

@ -1315,9 +1315,7 @@ See `auth-source-search' for details on SPEC."
(string-match (car item) file)) (string-match (car item) file))
(setq ret (cdr item)) (setq ret (cdr item))
(setq check nil))) (setq check nil)))
;; FIXME: `ret' unused. ret))
;; Should we return it here?
))
(t 'never))) (t 'never)))
(plain (or (eval default) (read-passwd prompt)))) (plain (or (eval default) (read-passwd prompt))))
;; ask if we don't know what to do (in which case ;; ask if we don't know what to do (in which case