mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix(notmuch): incorrect type used for window
This commit is contained in:
committed by
Henrik Lissner
parent
2b1cb2620a
commit
59f78dc966
@ -8,9 +8,9 @@
|
||||
(progn
|
||||
(when (featurep! :ui workspaces)
|
||||
(+workspace-switch "*MAIL*" t))
|
||||
(if-let* ((buf (cl-find-if (lambda (it) (string-match-p "^\\*notmuch" (buffer-name (window-buffer it))))
|
||||
(if-let* ((win (cl-find-if (lambda (it) (string-match-p "^\\*notmuch" (buffer-name (window-buffer it))))
|
||||
(doom-visible-windows))))
|
||||
(select-window (get-buffer-window buf))
|
||||
(select-window win)
|
||||
(funcall +notmuch-home-function))
|
||||
(when (featurep! :ui workspaces)
|
||||
(+workspace/display)))
|
||||
|
Reference in New Issue
Block a user