Do smarter auth-source creation if needed and still work without creation.
authorTed Zlatanov <tzz@lifelogs.com>
Wed, 16 Feb 2011 18:22:36 +0000 (12:22 -0600)
committerTed Zlatanov <tzz@lifelogs.com>
Wed, 16 Feb 2011 18:22:36 +0000 (12:22 -0600)
commit9f8ec3b0649842332bb2ea590997236088965721
treee0506ad09aaea3e2f68bd48b3f04945105503529
parentd3688d0bb275d5d3dcca7cc741bddc8021ac06e7
Do smarter auth-source creation if needed and still work without creation.

* nnimap.el (nnimap-credentials): Remove the `inhibit-create'
parameter.  Create entry if necessary by using :create t.
(nnimap-open-connection-1): Don't pass `inhibit-create'.

* auth-source.el (auth-source-netrc-create): Return a synthetic search
result when the user doesn't want to write to the file.
(auth-source-netrc-search): Expect a synthetic result and proceed
accordingly.
lisp/ChangeLog
lisp/auth-source.el
lisp/nnimap.el