generalize notmuch/ivy-compose to notmuch/compose (completing-read)
This commit is contained in:
parent
e279409bbd
commit
a4050a153d
1 changed files with 5 additions and 4 deletions
|
@ -87,12 +87,13 @@
|
||||||
(notmuch-tree-next-message))
|
(notmuch-tree-next-message))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun +notmuch/ivy-compose ()
|
(defun +notmuch/compose ()
|
||||||
"Compose new mail"
|
"Compose new mail"
|
||||||
(interactive)
|
(interactive)
|
||||||
(ivy-read "From: "
|
(notmuch-mua-mail
|
||||||
(notmuch-user-emails)
|
nil
|
||||||
:action (lambda (selection) (notmuch-mua-mail nil nil (list (cons 'From selection))))))
|
nil
|
||||||
|
(list (cons 'From (completing-read "From: " (notmuch-user-emails))))))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun +notmuch/open-message-with-mail-app-notmuch-tree ()
|
(defun +notmuch/open-message-with-mail-app-notmuch-tree ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue