]> git.eshelyaron.com Git - emacs.git/commitdiff
; * etc/NEWS: Slight improvement of last entry
authorMattias Engdegård <mattiase@acm.org>
Sat, 29 May 2021 07:32:49 +0000 (09:32 +0200)
committerMattias Engdegård <mattiase@acm.org>
Sat, 29 May 2021 07:32:49 +0000 (09:32 +0200)
etc/NEWS

index 392b164c8b886c12edd23ae4264a75b3211b18f1..49bde94e8dc8a67f78de2676332e4454568e864c 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2497,11 +2497,12 @@ This is to keep the same behavior as Eshell.
 * Incompatible Lisp Changes in Emacs 28.1
 
 ---
-** Some floating point numbers are now handled differently by the Lisp reader.
-In previous versions of Emacs, floating point numbers like 1.e6 would
-be read as 1.  This has now been changed, and the Lisp reader will now
-read that construct as 1000000.0.
-That is, (read-from-string "1.e6") => (1000000.0 . 4) now.
+** Some floating-point numbers are now handled differently by the Lisp reader.
+In previous versions of Emacs, numbers with a trailing dot and an exponent
+were read as integers and the exponent ignored: 2.e6 was interpreted as the
+integer 2.  Such numerals are now read as floats with the exponent included:
+2.e6 is now read as the floating-point value 2000000.0.
+That is, (read-from-string "1.e3") => (1000.0 . 4) now.
 
 +++
 ** The 'lexical-binding' local variable is always enabled.