From xemacs-m  Fri Apr 25 12:48:58 1997
Received: from CNRI.Reston.VA.US (CNRI.Reston.VA.US [132.151.1.1])
	by xemacs.org (8.8.5/8.8.5) with SMTP id MAA08544
	for <xemacs-beta@xemacs.org>; Fri, 25 Apr 1997 12:48:58 -0500 (CDT)
Received: from newcnri.cnri.reston.va.us by CNRI.Reston.VA.US id aa15213;
          25 Apr 97 13:49 EDT
Received: from anthem.CNRI.Reston.Va.US by newcnri.CNRI.Reston.Va.US (SMI-8.6/SMI-SVR4)
	id NAA16170; Fri, 25 Apr 1997 13:49:45 -0400
Received: by anthem.CNRI.Reston.Va.US (SMI-8.6/SMI-SVR4)
	id NAA00673; Fri, 25 Apr 1997 13:49:45 -0400
Date: Fri, 25 Apr 1997 13:49:45 -0400
Message-Id: <199704251749.NAA00673@anthem.CNRI.Reston.Va.US>
From: "Barry A. Warsaw" <bwarsaw@CNRI.Reston.VA.US>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: "Michael Sperber [Mr. Preprocessor]" <sperber@informatik.uni-tuebingen.de>
Cc: xemacs-beta@xemacs.org
Subject: Re: Custom giving me a headache
References: <y9lhggvgg92.fsf@modas.informatik.uni-tuebingen.de>
X-Mailer: VM 6.29 under 19.15 XEmacs Lucid
Reply-To: bwarsaw@python.org
X-Attribution: BAW
X-Oblique-Strategy: Discard an axiom
X-Url: http://www.python.org/~bwarsaw


I'm going to try to answer this, as a test of my own knowledge of
custom.el. :-)

I don't think you need the choice and the first (const nil) entry.
Just use the set, since sets can be empty, resulting in the empty
list, e.g. nil.

(defcustom dired-no-confirm nil
  "..."
  :type '(set byte-compile chgrp chmod chown compress copy
	      delete hardlink load move print
	      shell symlink uncompress recursive-delete
	      kill-file-buffer kill-dired-buffer patch
	      create-top-dir revert-subdirs)
  :group 'dired-behavior)

-Barry

