|
From: | Glenn Morris |
Subject: | bug#14254: 24.3; read-number fails to recognize faulty numbers (string-to-number to blame) |
Date: | Wed, 24 Apr 2013 13:29:18 -0400 |
User-agent: | Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Vitalie Spinu wrote: > This doesn't happen because read-number relies on string-to-number to > throw an error, which presumably was happening some time ago. No, it used to use "read", prior to http://lists.gnu.org/archive/html/emacs-diffs/2012-07/msg00477.html Replace `read' with `string-to-number' for consistency with `number-to-string'. I don't know why that mattered, it seems to bear no relation to the rest of the change. Going back to "read" again will fix this. Done in emacs-24.
[Prev in Thread] | Current Thread | [Next in Thread] |