Fix set-devdocs!

Was not applying to all MODES and was using incorrect variable (docsets
-> docset), causing a void-variable error.
This commit is contained in:
Henrik Lissner 2018-06-16 21:16:24 +02:00
parent cc6809bcf8
commit 5e23429309
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -8,7 +8,8 @@ DOCSET (a string).
See `devdocs-alist' for the defaults. " See `devdocs-alist' for the defaults. "
(after! (:when (boundp 'devdocs-alist)) (after! (:when (boundp 'devdocs-alist))
(map-put devdocs-alist mode docsets))) (dolist (mode (doom-enlist modes))
(map-put devdocs-alist modes docset))))
;;;###autoload ;;;###autoload
(def-setting! :devdocs (modes docset) (def-setting! :devdocs (modes docset)