diff options
| author | Lars Ingebrigtsen | 2016-04-28 00:53:04 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-05-01 19:27:07 +0200 |
| commit | 351c079cf69d41b473edba43e0e960bd5a175273 (patch) | |
| tree | 5136551c177356cb15b14f7af8754bb609c1e8df /doc | |
| parent | 3fc1ed8e010fdb8c98ee2aed54f39f7bb52fb2cc (diff) | |
| download | emacs-351c079cf69d41b473edba43e0e960bd5a175273.tar.gz emacs-351c079cf69d41b473edba43e0e960bd5a175273.zip | |
Add some concept index entries for custom types
* doc/lispref/customize.texi (Composite Types): Add concept
index entries for restricted-sexp, radio and choice (bug#7385).
(cherry picked from commit 388bb723fa078158d3148de05e942f9c01e95dd8)
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/customize.texi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/lispref/customize.texi b/doc/lispref/customize.texi index 994c346331f..14e6eb3ab25 100644 --- a/doc/lispref/customize.texi +++ b/doc/lispref/customize.texi | |||
| @@ -841,6 +841,7 @@ most general last. Here's an example of proper usage: | |||
| 841 | This way, the special value @code{nil} is not treated like other | 841 | This way, the special value @code{nil} is not treated like other |
| 842 | symbols, and symbols are not treated like other Lisp expressions. | 842 | symbols, and symbols are not treated like other Lisp expressions. |
| 843 | 843 | ||
| 844 | @cindex radio, customization types | ||
| 844 | @item (radio @var{element-types}@dots{}) | 845 | @item (radio @var{element-types}@dots{}) |
| 845 | This is similar to @code{choice}, except that the choices are displayed | 846 | This is similar to @code{choice}, except that the choices are displayed |
| 846 | using radio buttons rather than a menu. This has the advantage of | 847 | using radio buttons rather than a menu. This has the advantage of |
| @@ -936,6 +937,7 @@ The value must be a list and each element of the list must fit the type | |||
| 936 | list of elements, with @samp{[INS]} and @samp{[DEL]} buttons for adding | 937 | list of elements, with @samp{[INS]} and @samp{[DEL]} buttons for adding |
| 937 | more elements or removing elements. | 938 | more elements or removing elements. |
| 938 | 939 | ||
| 940 | @cindex restricted-sexp, customization types | ||
| 939 | @item (restricted-sexp :match-alternatives @var{criteria}) | 941 | @item (restricted-sexp :match-alternatives @var{criteria}) |
| 940 | This is the most general composite type construct. The value may be | 942 | This is the most general composite type construct. The value may be |
| 941 | any Lisp object that satisfies one of @var{criteria}. @var{criteria} | 943 | any Lisp object that satisfies one of @var{criteria}. @var{criteria} |
| @@ -1020,6 +1022,7 @@ and whose remaining arguments should be zero or more of @code{foo} and | |||
| 1020 | This matches values such as @code{(baz)}, @code{(baz foo)}, @code{(baz bar)} | 1022 | This matches values such as @code{(baz)}, @code{(baz foo)}, @code{(baz bar)} |
| 1021 | and @code{(baz foo bar)}. | 1023 | and @code{(baz foo bar)}. |
| 1022 | 1024 | ||
| 1025 | @cindex choice, customization types | ||
| 1023 | When the element-type is a @code{choice}, you use @code{:inline} not | 1026 | When the element-type is a @code{choice}, you use @code{:inline} not |
| 1024 | in the @code{choice} itself, but in (some of) the alternatives of the | 1027 | in the @code{choice} itself, but in (some of) the alternatives of the |
| 1025 | @code{choice}. For example, to match a list which must start with a | 1028 | @code{choice}. For example, to match a list which must start with a |