Remove reference to non-existent function

This commit is contained in:
Henrik Lissner 2019-03-06 23:25:33 -05:00
parent 80e4076bbc
commit d7d006d91f
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -157,8 +157,9 @@ PARSER should be a function for parsing COMMAND's output line-by-line, to
doom-modeline-env--parser ,parser-var) doom-modeline-env--parser ,parser-var)
(doom-modeline-update-env)))) (doom-modeline-update-env))))
(format "Updates the %s version string in the modeline." ',name)) (format "Updates the %s version string in the modeline." ',name))
(dolist (hook ',(doom-enlist (eval hooks))) (let ((hooks ',(eval hooks)))
(add-hook hook #',setup-fn)))))) (dolist (hook (if (listp hooks) hooks (list hooks)))
(add-hook hook #',setup-fn)))))))
;; ;;