aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas2025-02-18 22:35:16 +0100
committerStefan Kangas2025-02-18 22:36:33 +0100
commit4faade9f844db5dc09f2805c0f07376663402e41 (patch)
tree39979e52077cf91eedeef0226559bd4a96950842
parent4c4f907bad1ad616dda6e5f5eec0b78ebea9f1c4 (diff)
downloademacs-4faade9f844db5dc09f2805c0f07376663402e41.tar.gz
emacs-4faade9f844db5dc09f2805c0f07376663402e41.zip
; * etc/NEWS: Move cl-lib related entries to proper section.
-rw-r--r--etc/NEWS15
1 files changed, 10 insertions, 5 deletions
diff --git a/etc/NEWS b/etc/NEWS
index e6a7ab9e90b..bd7ee0f8b13 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -485,6 +485,14 @@ Emacs 25.1), and gnudoit (obsolete since Emacs 25.1).
485** CL-Lib 485** CL-Lib
486 486
487+++ 487+++
488*** Some cl-lib functions are now built-in.
489The functions 'cl-plusp', 'cl-minusp', 'cl-oddp', and 'cl-evenp', have
490been added to Emacs Lisp, and are thus now aliases for the built-in
491functions 'plusp', 'minusp', 'oddp' and 'evenp'. The old names are
492considered deprecated, and will be marked as obsolete in some future
493release.
494
495+++
488*** 'cl-labels' now also accepts '(FUNC EXP)' bindings, like 'cl-flet'. 496*** 'cl-labels' now also accepts '(FUNC EXP)' bindings, like 'cl-flet'.
489Such bindings make it possible to compute which function to bind to FUNC. 497Such bindings make it possible to compute which function to bind to FUNC.
490 498
@@ -1311,15 +1319,12 @@ change it globally with:
1311+++ 1319+++
1312** New functions 'plusp' and 'minusp'. 1320** New functions 'plusp' and 'minusp'.
1313They return non-nil if a number is positive or negative, respectively, 1321They return non-nil if a number is positive or negative, respectively,
1314and signal an error if they are given a non-number. The 'cl-lib' 1322and signal an error if they are given a non-number.
1315functions 'cl-plusp' and 'cl-minusp' are now aliases for 'plusp' and
1316'minusp'.
1317 1323
1318+++ 1324+++
1319** New functions 'oddp' and 'evenp'. 1325** New functions 'oddp' and 'evenp'.
1320They return non-nil if an integer is odd or even, respectively, and 1326They return non-nil if an integer is odd or even, respectively, and
1321signal an error if they are given a non-integer. The 'cl-lib' functions 1327signal an error if they are given a non-integer.
1322'cl-oddp' and 'cl-evenp' are now aliases for 'oddp' and 'evenp'.
1323 1328
1324** Time & Date 1329** Time & Date
1325 1330