Merge pull request #2270 from facelesspanda/patch-1

docs/core: fix typo in `featurep!` docstring
This commit is contained in:
Henrik Lissner 2020-01-02 00:04:39 -05:00 committed by GitHub
commit 4d64021980
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -527,7 +527,7 @@ Module FLAGs are set in your config's `doom!' block, typically in
:config (default +flag1 -flag2)
CATEGORY and MODULE can be omitted When this macro is used from inside a module
(except your DOOMDIR, which is a special moduel). e.g. (featurep! +flag)"
(except your DOOMDIR, which is a special module). e.g. (featurep! +flag)"
(and (cond (flag (memq flag (doom-module-get category module :flags)))
(module (doom-module-p category module))
(doom--current-flags (memq category doom--current-flags))