all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.