feature/popup: fix possible void-variable error w/ hide-mode-line-mode

This commit is contained in:
Henrik Lissner 2018-03-07 21:15:38 -05:00
parent 7afc62fb1d
commit 4675ceff42
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -239,7 +239,7 @@ disabled."
((symbolp modeline)
(when-let* ((hide-mode-line-format (doom-modeline modeline)))
(hide-mode-line-mode +1)))))
(when hide-mode-line-mode
(when (bound-and-true-p hide-mode-line-mode)
(hide-mode-line-mode -1))))
;;;###autoload