help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to obtain customize :type for an option at runtime?


From: Drew Adams
Subject: How to obtain customize :type for an option at runtime?
Date: Sat, 28 Jan 2006 08:53:36 -0800

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]