* bug#14678: 24.3.50; doc of `defcustom': specify behavior if duplicate keyword
@ 2013-06-20 20:07 Drew Adams
0 siblings, 0 replies; only message in thread
From: Drew Adams @ 2013-06-20 20:07 UTC (permalink / raw)
To: 14678
Lisp code can generate Lisp code, including `defcustom's. In this
context, it is possible for the generated code to have more than one
occurrence of the same keyword (e.g., `:type'), with different
occurrences specifying different keyword values.
The implementation, and presumably the design, of `defcustom' is such
that in case of multiple occurrences of the same keyword, the last one
wins - the others are ignored.
This should be stated in the doc, as part of the description of
`defcustom'. Programmers should know that they can depend on this
behavior.
In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
of 2013-06-18 on LEG570
Bzr revision: 113050 handa@gnu.org-20130618145521-fvpc5viqtc85j4j4
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --prefix=/c/usr --enable-checking CFLAGS='-O0 -g3'
CPPFLAGS='-DGLYPH_DEBUG=1 -I/c/usr/include''
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-06-20 20:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-20 20:07 bug#14678: 24.3.50; doc of `defcustom': specify behavior if duplicate keyword Drew Adams
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).