summaryrefslogtreecommitdiff
path: root/lispref/modes.texi
diff options
context:
space:
mode:
authorLute Kamstra <lute@gnu.org>2005-04-05 15:22:50 +0000
committerLute Kamstra <lute@gnu.org>2005-04-05 15:22:50 +0000
commitbfa546681cdf5489d46c20a6983e63d9674d04e7 (patch)
tree640e676ad98961f1f22150b38bc43a5e514f871b /lispref/modes.texi
parent79f9f704ea99f174e3fd26f7188f79f0ba453151 (diff)
downloademacs-bfa546681cdf5489d46c20a6983e63d9674d04e7.tar.gz
(Defining Minor Modes): Document :group keyword argument and its
default value.
Diffstat (limited to 'lispref/modes.texi')
-rw-r--r--lispref/modes.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/lispref/modes.texi b/lispref/modes.texi
index f2cfcd2eb8c..ecbe39dbb31 100644
--- a/lispref/modes.texi
+++ b/lispref/modes.texi
@@ -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.