branch: externals/setup commit f764229a02526179bad6bc49c468c523f9cd7be5 Author: Philip K <phil...@posteo.net> Commit: Philip K <phil...@posteo.net>
Explain how :with-feature sets an implicit mode --- setup.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.el b/setup.el index 175c45c..16b2d27 100644 --- a/setup.el +++ b/setup.el @@ -215,7 +215,9 @@ If not given, it is assumed nothing is evaluated." (intern (format "%s-mode" feature))) ,@body)) `(progn ,@body))) - :documentation "Change the FEATURE that BODY is configuring." + :documentation "Change the FEATURE that BODY is configuring. +This macro also declares a current mode by appending \"-mode\" to +FEATURE, unless it already ends with \"-mode\"." :debug '(sexp setup) :indent 1)