fix(notmuch): notmuch-read-tag-changes error
Due to notmuch abusing the completing-read-multiple api, notmuch-read-tags-changes errors out without this fix. A bug report has been filed about this upstream, so hopefully this is a strictly temporary measure. Ref https://yhetil.org/notmuch/87h7efuv6i.fsf@tethera.net/T/ Ref minad/vertico#119
This commit is contained in:
parent
34f76c8a75
commit
173e0f3cc0
1 changed files with 4 additions and 0 deletions
|
@ -68,6 +68,10 @@ OR a shell command string such as
|
||||||
|
|
||||||
(advice-add #'notmuch-start-notmuch-sentinel :around #'+notmuch-dont-confirm-on-kill-process-a)
|
(advice-add #'notmuch-start-notmuch-sentinel :around #'+notmuch-dont-confirm-on-kill-process-a)
|
||||||
|
|
||||||
|
;;HACK temporary fix until notmuch stops abusing the completing-read-multiple api upstream
|
||||||
|
(when (featurep! :completion vertico)
|
||||||
|
(advice-add #'notmuch-read-tag-changes :filter-return (lambda (x) (mapcar #'string-trim x))))
|
||||||
|
|
||||||
;; modeline doesn't have much use in these modes
|
;; modeline doesn't have much use in these modes
|
||||||
(add-hook! '(notmuch-show-mode-hook
|
(add-hook! '(notmuch-show-mode-hook
|
||||||
notmuch-tree-mode-hook
|
notmuch-tree-mode-hook
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue