Mercurial > emacs
comparison lispref/customize.texi @ 33150:7e53fab4d2a3
defgroup :version
author | Dave Love <fx@gnu.org> |
---|---|
date | Thu, 02 Nov 2000 14:47:18 +0000 |
parents | b63b77317d15 |
children | d80f2bfd0e05 |
comparison
equal
deleted
inserted
replaced
33149:a473fce1ed3a | 33150:7e53fab4d2a3 |
---|---|
128 should have the form @code{(@var{name} @var{widget})}. Here @var{name} | 128 should have the form @code{(@var{name} @var{widget})}. Here @var{name} |
129 is a symbol, and @var{widget} is a widget type for editing that symbol. | 129 is a symbol, and @var{widget} is a widget type for editing that symbol. |
130 Useful widgets are @code{custom-variable} for a variable, | 130 Useful widgets are @code{custom-variable} for a variable, |
131 @code{custom-face} for a face, and @code{custom-group} for a group. | 131 @code{custom-face} for a face, and @code{custom-group} for a group. |
132 | 132 |
133 When a new group is introduced into Emacs, use this keyword in | |
134 @code{defgroup}: | |
135 | |
136 @table @code | |
137 @item :version @var{version} | |
138 This option specifies that the group was first introduced in Emacs | |
139 version @var{version}. The value @var{version} must be a string. | |
140 @end table | |
141 | |
142 Tag the group with a version like this when it is introduced, rather | |
143 than the individual members (@pxref{Variable Definitions}). | |
144 | |
133 In addition to the common keywords (@pxref{Common Keywords}), you can | 145 In addition to the common keywords (@pxref{Common Keywords}), you can |
134 use this keyword in @code{defgroup}: | 146 also use this keyword in @code{defgroup}: |
135 | 147 |
136 @table @code | 148 @table @code |
137 @item :prefix @var{prefix} | 149 @item :prefix @var{prefix} |
138 If the name of an item in the group starts with @var{prefix}, then the | 150 If the name of an item in the group starts with @var{prefix}, then the |
139 tag for that item is constructed (by default) by omitting @var{prefix}. | 151 tag for that item is constructed (by default) by omitting @var{prefix}. |