mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
generalize notmuch/ivy-compose to notmuch/compose (completing-read)
This commit is contained in:
@ -87,12 +87,13 @@
|
||||
(notmuch-tree-next-message))
|
||||
|
||||
;;;###autoload
|
||||
(defun +notmuch/ivy-compose ()
|
||||
(defun +notmuch/compose ()
|
||||
"Compose new mail"
|
||||
(interactive)
|
||||
(ivy-read "From: "
|
||||
(notmuch-user-emails)
|
||||
:action (lambda (selection) (notmuch-mua-mail nil nil (list (cons 'From selection))))))
|
||||
(notmuch-mua-mail
|
||||
nil
|
||||
nil
|
||||
(list (cons 'From (completing-read "From: " (notmuch-user-emails))))))
|
||||
|
||||
;;;###autoload
|
||||
(defun +notmuch/open-message-with-mail-app-notmuch-tree ()
|
||||
|
Reference in New Issue
Block a user