From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Bad value to a defcustom makes choices unavailable Date: Mon, 01 Aug 2005 17:45:58 +0200 Message-ID: <42EE43B6.2090409@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1122911402 19884 80.91.229.2 (1 Aug 2005 15:50:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 1 Aug 2005 15:50:02 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 01 17:49:56 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DzcX1-0003MR-Td for ged-emacs-devel@m.gmane.org; Mon, 01 Aug 2005 17:48:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DzcZg-0008AL-JG for ged-emacs-devel@m.gmane.org; Mon, 01 Aug 2005 11:51:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DzcXf-0007AM-LF for emacs-devel@gnu.org; Mon, 01 Aug 2005 11:49:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DzcXZ-00076K-9L for emacs-devel@gnu.org; Mon, 01 Aug 2005 11:49:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DzcXZ-00075a-0L for emacs-devel@gnu.org; Mon, 01 Aug 2005 11:49:21 -0400 Original-Received: from [81.228.8.164] (helo=pne-smtpout2-sn2.hy.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DzcgT-0005BO-Af for emacs-devel@gnu.org; Mon, 01 Aug 2005 11:58:33 -0400 Original-Received: from [192.168.123.121] (83.249.205.6) by pne-smtpout2-sn2.hy.skanova.net (7.2.060.1) id 42B94E2900635311 for emacs-devel@gnu.org; Mon, 1 Aug 2005 17:45:59 +0200 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en Original-To: Emacs Devel X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:41407 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41407 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//") ))