bug-auctex
[Top][All Lists]
Advanced

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

bug#66485: 13.2.1; preview-scale-function should be safe for numberp


From: David Kastrup
Subject: bug#66485: 13.2.1; preview-scale-function should be safe for numberp
Date: Mon, 16 Oct 2023 22:26:04 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Arash Esbati <arash@gnu.org> writes:

> David Kastrup <dak@gnu.org> writes:
>
>> The question is whether this should be enough of a worry to stop such
>> settings to take effect automatically.  I am not saying that it should,
>> just that this is the metric for making this change.
>
> Thanks for the clarification, now I see what you mean.  In this case, I
> think Philipp made a good suggestion to use another predicate like:
>
> (lambda (x) (and (numberp x) (> x 0) (<= x 10))
>
> WDYT?

Possibly

(lambda (x) (and (numberp x) (<= 0.1 x 10)))

?

-- 
David Kastrup





reply via email to

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