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
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -191,16 +191,15 @@ state are passed in.")
on-load
on-enter
on-exit)
"Define a project minor-mode named NAME (a symbol) and declare where and how
it is activated. Project modes allow you to configure 'sub-modes' for
major-modes that are 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.
"Define a project minor mode named NAME and where/how it is activated.
Project modes allow you to configure 'sub-modes' for major-modes that are
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.
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
should be activated. If they are *all* true, NAME is activated.