2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
+ * auth-source.el (auth-source-user-or-password): Use the existing auth
+ sources, if any, for creation.
+
* gnus.el (gnus-group-fast-parameter): Return the last matching
parameter instead of the first matching parameter.
;; We haven't found something, so we will create it interactively.
(when (and (not found) create-missing)
(setq found (apply 'auth-source-create
- mode (car auth-sources) search)))
+ mode (if choices
+ (car choices)
+ (car auth-sources))
+ search)))
;; Cache the result.
(when found