Fix: hotfix of +calendar-open-calendar-function

This commit is contained in:
fuxialexander 2018-01-13 17:35:59 +08:00
parent c63aba39ac
commit 7236404f67

View file

@ -9,7 +9,7 @@
(+workspace-switch "Calendar" t)
(if-let* ((buf (cl-find-if (lambda (it) (string-match-p "^\\*cfw" (buffer-name (window-buffer it))))
(doom-visible-windows))))
(select-window (get-buffer-window buf)) (call-interactively '+calendar-open-calendar-function))
(select-window (get-buffer-window buf)) (call-interactively +calendar-open-calendar-function))
(+workspace/display))
;;;###autoload