From: Lars Ingebrigtsen Date: Sat, 29 May 2021 06:02:10 +0000 (+0200) Subject: Mention the recent floating point reader changes in NEWS X-Git-Tag: emacs-28.0.90~2285 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2e1510dd009a97e3952df6e6f6deb51aac854933;p=emacs.git Mention the recent floating point reader changes in NEWS * etc/NEWS: Mention the floating point reader changes (bug#48678). --- diff --git a/etc/NEWS b/etc/NEWS index 876f63c69c6..392b164c8b8 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -2496,6 +2496,13 @@ 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. + +++ ** The 'lexical-binding' local variable is always enabled. Previously, if 'enable-local-variables' was nil, a 'lexical-binding'