bug-gnu-emacs
[Top][All Lists]
Advanced

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

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


From: Mauro Aranda
Subject: bug#2591: Custom should warn if 'other is not the last in a choice
Date: Tue, 3 Oct 2023 19:21:26 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1

close 2591 30.1
quit


Richard M Stallman <rms@gnu.org> 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.






reply via email to

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