unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to obtain customize :type for an option at runtime?
@ 2006-01-28 16:53 Drew Adams
  2006-01-29  2:09 ` Lennart Borgman
  0 siblings, 1 reply; 4+ messages in thread
From: Drew Adams @ 2006-01-28 16:53 UTC (permalink / raw)


How can I determine, for a given user option, what its Customize :type is?

For example, function `user-variable-p' tests whether a symbol is a user
option, but what if I want to test whether a variable is a toggle (binary)
option?

Although not all options that can act as toggles are defined with a simple
":type 'boolean" in Customize (far from it, and there are good reasons for
that), obtaining such :type info would be a start.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-01-29  2:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.13.1138483893.3044.help-gnu-emacs@gnu.org>
2006-01-28 22:57 ` How to obtain customize :type for an option at runtime? John Paul Wallington
2006-01-28 23:25   ` Drew Adams
2006-01-28 16:53 Drew Adams
2006-01-29  2:09 ` Lennart Borgman

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).