bin/doom: fix wrong-type-argument hash-table-p errors #2227

We can't be consulting the active doom state before it has be
initialized.
This commit is contained in:
Henrik Lissner 2019-12-23 14:18:40 -05:00
parent b144a3862a
commit 59152248e6
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -216,9 +216,9 @@ selection of all minor-modes, active or not."
(defun doom/help-search (&optional initial-input)
"Preform a text search on all of Doom's documentation."
(interactive)
(funcall (cond ((featurep! :completion ivy)
(funcall (cond ((fboundp '+ivy-file-search)
#'+ivy-file-search)
((featurep! :completion helm)
((fboundp '+helm-file-search)
#'+helm-file-search)
((rgrep
(read-regexp