On Sep 08 2024, Ship Mints wrote:

> There are cases in elisp where numeric type coercion is the default,
> e.g., (= 2.0 2) is t. I expected it to be so here, too.

That's because the function accepts a number, not a float.  If you want
to accept any kind of number, just say so.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



          • ... Bug reports for GNU Emacs, the Swiss army knife of text editors
          • ... Eli Zaretskii
          • ... Stefan Kangas
          • ... Ship Mints
          • ... Eli Zaretskii
          • ... Ship Mints
          • ... Bug reports for GNU Emacs, the Swiss army knife of text editors
          • ... Bug reports for GNU Emacs, the Swiss army knife of text editors
          • ... Ship Mints
          • ... Ship Mints
  • bug#73098:... Andreas Schwab

Reply via email to