mirror of https://github.com/djcb/mu.git
Merge pull request #2494 from stardiviner/patch-1
Fix asking maildir reading completing candidate is text-property
This commit is contained in:
commit
d9795f5874
|
@ -307,12 +307,13 @@ from all maildirs under `mu4e-maildir'."
|
||||||
(mu4e-read-option prompt
|
(mu4e-read-option prompt
|
||||||
(append options
|
(append options
|
||||||
'(("oOther..." . other)))))))
|
'(("oOther..." . other)))))))
|
||||||
(if (eq response 'other)
|
(substring-no-properties
|
||||||
(progn
|
(if (eq response 'other)
|
||||||
(funcall mu4e-completing-read-function prompt
|
(progn
|
||||||
(mu4e-get-maildirs) nil nil
|
(funcall mu4e-completing-read-function prompt
|
||||||
mu4e-maildir-initial-input))
|
(mu4e-get-maildirs) nil nil
|
||||||
response)))
|
mu4e-maildir-initial-input))
|
||||||
|
response))))
|
||||||
|
|
||||||
(defun mu4e-ask-maildir-check-exists (prompt)
|
(defun mu4e-ask-maildir-check-exists (prompt)
|
||||||
"Like `mu4e-ask-maildir', PROMPT for existence of the maildir.
|
"Like `mu4e-ask-maildir', PROMPT for existence of the maildir.
|
||||||
|
|
Loading…
Reference in New Issue