app/calendar: fix typo causing void-variable error

This commit is contained in:
Henrik Lissner 2018-04-04 01:05:20 -04:00
parent 9b6eea64b7
commit a582bdf208
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -4,7 +4,7 @@
(defun +calendar--init ()
(if-let* ((win (cl-loop for win in (doom-visible-windows)
if (string-match-p "^\\*cfw:" (buffer-name (window-buffer it)))
if (string-match-p "^\\*cfw:" (buffer-name (window-buffer win)))
return win)))
(select-window win)
(call-interactively +calendar-open-function)))