* mu4e: update doc for mu4e-create-maildir-maybe

This commit is contained in:
djcb 2013-03-04 20:58:41 -08:00
parent 1e53876240
commit 1c98cbbf4e
1 changed files with 4 additions and 2 deletions

View File

@ -140,8 +140,10 @@ see its docstring)."
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(defun mu4e-create-maildir-maybe (dir)
"Offer to create maildir DIR if it does not exist yet.
Return t if the dir already existed, or has been created, nil
otherwise. DIR has to be an absolute path."
Return t if the dir already existed, or an attempt has been made to
create it -- we cannot be sure creation succeeded here, since this
is done asynchronously. Otherwise, return nil. NOte, DIR has to be
an absolute path."
(if (and (file-exists-p dir) (not (file-directory-p dir)))
(mu4e-error "%s exists, but is not a directory." dir))
(cond