(Defining Minor Modes): Document :group keyword argument and its

default value.
This commit is contained in:
Lute Kamstra 2005-04-05 15:22:50 +00:00
parent 79f9f704ea
commit bfa546681c
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2005-04-05 Lute Kamstra <lute@gnu.org>
* modes.texi (Defining Minor Modes): Document :group keyword
argument and its default value.
2005-04-03 Lute Kamstra <lute@gnu.org>
* hooks.texi (Standard Hooks): Add some hooks. Add cross

View file

@ -1127,6 +1127,12 @@ used. The @var{keyword-args} consist of keywords followed by
corresponding values. A few keywords have special meanings:
@table @code
@item :group @var{group}
Custom group name to use in all generated @code{defcustom} forms.
Defaults to @var{mode} without the possible trailing @samp{-mode}. Be
aware that this default may not be a valid customization group defined
with @code{defgroup}. Please make sure it is.
@item :global @var{global}
If non-@code{nil} specifies that the minor mode should be global.
By default, minor modes are buffer-local.