emacs-devel
[Top][All Lists]
Advanced

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

Bad value to a defcustom makes choices unavailable


From: Lennart Borgman
Subject: Bad value to a defcustom makes choices unavailable
Date: Mon, 01 Aug 2005 17:45:58 +0200
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

If the value of a defcustom with ":type '(choices ...)" has a bad value then the choice menu is unavailable. Try the following for example:

(defcustom xhtml-help-refurl "ttp://www.site1.com/"
 "Web url to get references from."
 :type '(choice (const "http://www.site1.com/";)
                (const "http://www.site2.com//";)
                ))





reply via email to

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