Update def-project-mode! macro docstring

Remove mention of `doom-project`, since it no longer exists.
This commit is contained in:
Henrik Lissner
2020-02-22 20:38:34 -05:00
parent a7b945be0e
commit 50c61c57bc

View File

@ -191,16 +191,15 @@ state are passed in.")
add-hooks add-hooks
on-load on-load
on-enter on-enter
on-exit) on-exit)
"Define a project minor-mode named NAME (a symbol) and declare where and how "Define a project minor mode named NAME and where/how it is activated.
it is activated. Project modes allow you to configure 'sub-modes' for
major-modes that are specific to a folder, project structure, framework or Project modes allow you to configure 'sub-modes' for major-modes that are
whatever arbitrary context you define. These project modes can have their own specific to a folder, project structure, framework or whatever arbitrary context
you define. These project modes can have their own settings, keymaps, hooks,
snippets, etc. snippets, etc.
This creates NAME-hook and NAME-map as well. This creates NAME-hook and NAME-map as well.
A project can be enabled through .dir-locals.el too, by setting `doom-project'.
PLIST may contain any of these properties, which are all checked to see if NAME PLIST may contain any of these properties, which are all checked to see if NAME
should be activated. If they are *all* true, NAME is activated. should be activated. If they are *all* true, NAME is activated.