From: Mattias EngdegÄrd Date: Sat, 29 May 2021 07:32:49 +0000 (+0200) Subject: ; * etc/NEWS: Slight improvement of last entry X-Git-Tag: emacs-28.0.90~2279 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7bbd6b720e60cb5e726214268c5b80a3e23f799e;p=emacs.git ; * etc/NEWS: Slight improvement of last entry --- diff --git a/etc/NEWS b/etc/NEWS index 392b164c8b8..49bde94e8dc 100644 --- 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.