comparison lispref/modes.texi @ 61322:8ac9a1a8591f

(Defining Minor Modes): Document :group keyword argument and its default value.
author Lute Kamstra <lute@gnu.org>
date Tue, 05 Apr 2005 15:21:56 +0000
parents 38d95bf39f6e
children d719a3a92aa5
comparison
equal deleted inserted replaced
61321:537477e02afd 61322:8ac9a1a8591f
1125 @var{keymap} can be (partially) omitted when @var{keyword-args} are 1125 @var{keymap} can be (partially) omitted when @var{keyword-args} are
1126 used. The @var{keyword-args} consist of keywords followed by 1126 used. The @var{keyword-args} consist of keywords followed by
1127 corresponding values. A few keywords have special meanings: 1127 corresponding values. A few keywords have special meanings:
1128 1128
1129 @table @code 1129 @table @code
1130 @item :group @var{group}
1131 Custom group name to use in all generated @code{defcustom} forms.
1132 Defaults to @var{mode} without the possible trailing @samp{-mode}. Be
1133 aware that this default may not be a valid customization group defined
1134 with @code{defgroup}. Please make sure it is.
1135
1130 @item :global @var{global} 1136 @item :global @var{global}
1131 If non-@code{nil} specifies that the minor mode should be global. 1137 If non-@code{nil} specifies that the minor mode should be global.
1132 By default, minor modes are buffer-local. 1138 By default, minor modes are buffer-local.
1133 1139
1134 @item :init-value @var{init-value} 1140 @item :init-value @var{init-value}