unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Subject: Bad value to a defcustom makes choices unavailable
Date: Mon, 01 Aug 2005 17:45:58 +0200	[thread overview]
Message-ID: <42EE43B6.2090409@student.lu.se> (raw)

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	other threads:[~2005-08-01 15:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-01 15:45 Lennart Borgman [this message]
2005-08-01 17:41 ` Bad value to a defcustom makes choices unavailable Luc Teirlinck
2005-08-01 17:50   ` Lennart Borgman
2005-08-01 17:58     ` Luc Teirlinck
     [not found]       ` <42EE665A.3060208@student.lu.se>
     [not found]         ` <200508011820.j71IKNr05302@raven.dms.auburn.edu>
2005-08-01 18:29           ` Lennart Borgman
2005-08-01 20:17             ` Luc Teirlinck
2005-08-01 20:38               ` Lennart Borgman
2005-08-02 16:09             ` Per Abrahamsen
2005-08-02 17:26               ` Lennart Borgman
2005-08-03 10:24                 ` Per Abrahamsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42EE43B6.2090409@student.lu.se \
    --to=lennart.borgman.073@student.lu.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

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