diff options
| author | Lute Kamstra | 2005-04-05 15:22:50 +0000 |
|---|---|---|
| committer | Lute Kamstra | 2005-04-05 15:22:50 +0000 |
| commit | bfa546681cdf5489d46c20a6983e63d9674d04e7 (patch) | |
| tree | 640e676ad98961f1f22150b38bc43a5e514f871b | |
| parent | 79f9f704ea99f174e3fd26f7188f79f0ba453151 (diff) | |
| download | emacs-bfa546681cdf5489d46c20a6983e63d9674d04e7.tar.gz emacs-bfa546681cdf5489d46c20a6983e63d9674d04e7.zip | |
(Defining Minor Modes): Document :group keyword argument and its
default value.
| -rw-r--r-- | lispref/ChangeLog | 5 | ||||
| -rw-r--r-- | lispref/modes.texi | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog index 0f778a1591c..1f5c324bdd1 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2005-04-05 Lute Kamstra <lute@gnu.org> | ||
| 2 | |||
| 3 | * modes.texi (Defining Minor Modes): Document :group keyword | ||
| 4 | argument and its default value. | ||
| 5 | |||
| 1 | 2005-04-03 Lute Kamstra <lute@gnu.org> | 6 | 2005-04-03 Lute Kamstra <lute@gnu.org> |
| 2 | 7 | ||
| 3 | * hooks.texi (Standard Hooks): Add some hooks. Add cross | 8 | * hooks.texi (Standard Hooks): Add some hooks. Add cross |
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 | |||
| 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. |