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

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

bug#65852: 30.0.50; image-auto-resize :type has choices in wrong order


From: Stefan Kangas
Subject: bug#65852: 30.0.50; image-auto-resize :type has choices in wrong order
Date: Sun, 10 Sep 2023 06:49:27 -0700

Mauro Aranda <maurooaranda@gmail.com> writes:

> The :type for image-auto-resize looks like this:
>
> :type '(choice (const :tag "No resizing" nil)
>                 (const :tag "Fit to window" fit-window)
>                 (other :tag "Scale down to fit window" t)
>                 (number :tag "Scale factor" 1))
>
> The `other' choice should come last.  Otherwise Custom thinks that
> that's the selected option, even when the value of image-auto-resize is
> a number.

ENOPATCH

Thanks for working on this.  Is it possible to detect issues like these
statically?





reply via email to

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