fix(notmuch): incorrect type used for window
This commit is contained in:
parent
2b1cb2620a
commit
59f78dc966
1 changed files with 2 additions and 2 deletions
|
@ -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)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue