Subject: bug#2591: Custom should warn if 'other is not the last in a choice

From: Mauro Aranda <[email-masked]>
Date: Tue, 3 Oct 2023 19:21:26 -0300

close 2591 30.1
quit

Richard M Stallman <[email-masked]> writes:

 > [ resent from
 > http://lists.gnu.org/archive/html/emacs-devel/2009-03/msg00002.html ]
 >
 > Regarding this change,
 >
 >        :group 'find-file
 >        :version "23.1"
 >     -  :type '(choice (other :tag "Always" t)
 >     -         (const :tag "After completion" after-completion)
 >     -         (const :tag "Never" nil)))
 >     +  :type '(choice (const :tag "After completion" after-completion)
 >     +         (const :tag "Never" nil)
 >     +         (other :tag "Always" t)))
 >
 > perhaps compiling defcustom should give an error if :other appears
 > other than last.

commit f8ea47ebf45c5ea0cd788667f7bdb805f42e08e0 introduced many checks
for defcustom, including this.  See also Bug#65852

It's my conclusion that this Bug Report can be closed.  Feel free to
reopen if I'm mistaken.