* mu4e: update doc for mu4e-create-maildir-maybe
This commit is contained in:
@ -140,8 +140,10 @@ see its docstring)."
|
|||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
(defun mu4e-create-maildir-maybe (dir)
|
(defun mu4e-create-maildir-maybe (dir)
|
||||||
"Offer to create maildir DIR if it does not exist yet.
|
"Offer to create maildir DIR if it does not exist yet.
|
||||||
Return t if the dir already existed, or has been created, nil
|
Return t if the dir already existed, or an attempt has been made to
|
||||||
otherwise. DIR has to be an absolute path."
|
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)))
|
(if (and (file-exists-p dir) (not (file-directory-p dir)))
|
||||||
(mu4e-error "%s exists, but is not a directory." dir))
|
(mu4e-error "%s exists, but is not a directory." dir))
|
||||||
(cond
|
(cond
|
||||||
|
|||||||
Reference in New Issue
Block a user