2011-02-18 Lars Ingebrigtsen <larsi@gnus.org>
+ * auth-source.el (auth-source-search): Don't try to create credentials
+ if the caller doesn't want that.
+
* nnimap.el (nnimap-log-command): Add a newline to the inhibited
logging.
(nnimap-credentials): Protect against auth-source-search returning nil.
(push (list backend match) matches)))))
;; If we didn't find anything, then we allow the backend(s) to
;; create the entries.
- (unless matches
+ (when (and create
+ (not matches))
(let ((match (apply
(slot-value backend 'search-function)
:backend backend