Mercurial > emacs
changeset 46809:a7c081b4fc3c
2002-08-05 Per Abrahamsen <abraham@dina.kvl.dk>
* customize.texi (Splicing into Lists): Fixed example.
Reported by Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
author | Per Abrahamsen <abraham@dina.kvl.dk> |
---|---|
date | Mon, 05 Aug 2002 15:15:18 +0000 |
parents | cf225aed7a75 |
children | 65ad7b458435 |
files | lispref/ChangeLog lispref/customize.texi |
diffstat | 2 files changed, 10 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/ChangeLog Mon Aug 05 14:58:21 2002 +0000 +++ b/lispref/ChangeLog Mon Aug 05 15:15:18 2002 +0000 @@ -1,3 +1,8 @@ +2002-08-05 Per Abrahamsen <abraham@dina.kvl.dk> + + * customize.texi (Splicing into Lists): Fixed example. + Reported by Fabrice Bauzac <fabrice.bauzac@wanadoo.fr> + 2002-06-17 Juanma Barranquero <lektu@terra.es> * frames.texi (Display Feature Testing): Fix typo.
--- a/lispref/customize.texi Mon Aug 05 14:58:21 2002 +0000 +++ b/lispref/customize.texi Mon Aug 05 15:15:18 2002 +0000 @@ -1,6 +1,6 @@ @c -*-texinfo-*- @c This is part of the GNU Emacs Lisp Reference Manual. -@c Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc. +@c Copyright (C) 1997, 1998, 1999, 2000, 2002 Free Software Foundation, Inc. @c See the file elisp.texi for copying conditions. @setfilename ../info/customize @node Customization, Loading, Macros, Top @@ -821,17 +821,17 @@ overall sequence. This is analogous to using @samp{,@@} in the backquote construct. - For example, to specify a list whose first element must be @code{t} + For example, to specify a list whose first element must be @code{baz} and whose remaining arguments should be zero or more of @code{foo} and @code{bar}, use this customization type: @example -(list (const t) (set :inline t foo bar)) +(list (const baz) (set :inline t (const foo) (const bar))) @end example @noindent -This matches values such as @code{(t)}, @code{(t foo)}, @code{(t bar)} -and @code{(t foo bar)}. +This matches values such as @code{(baz)}, @code{(baz foo)}, @code{(baz bar)} +and @code{(baz foo bar)}. When the element-type is a @code{choice}, you use @code{:inline} not in the @code{choice} itself, but in (some of) the alternatives of the