From 7bbd6b720e60cb5e726214268c5b80a3e23f799e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Sat, 29 May 2021 09:32:49 +0200 Subject: [PATCH] ; * etc/NEWS: Slight improvement of last entry --- etc/NEWS | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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. -- 2.39.5