diff options
| author | Stefan Kangas | 2025-02-18 22:35:16 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2025-02-18 22:36:33 +0100 |
| commit | 4faade9f844db5dc09f2805c0f07376663402e41 (patch) | |
| tree | 39979e52077cf91eedeef0226559bd4a96950842 | |
| parent | 4c4f907bad1ad616dda6e5f5eec0b78ebea9f1c4 (diff) | |
| download | emacs-4faade9f844db5dc09f2805c0f07376663402e41.tar.gz emacs-4faade9f844db5dc09f2805c0f07376663402e41.zip | |
; * etc/NEWS: Move cl-lib related entries to proper section.
| -rw-r--r-- | etc/NEWS | 15 |
1 files changed, 10 insertions, 5 deletions
| @@ -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. | ||
| 489 | The functions 'cl-plusp', 'cl-minusp', 'cl-oddp', and 'cl-evenp', have | ||
| 490 | been added to Emacs Lisp, and are thus now aliases for the built-in | ||
| 491 | functions 'plusp', 'minusp', 'oddp' and 'evenp'. The old names are | ||
| 492 | considered deprecated, and will be marked as obsolete in some future | ||
| 493 | release. | ||
| 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'. |
| 489 | Such bindings make it possible to compute which function to bind to FUNC. | 497 | Such 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'. |
| 1313 | They return non-nil if a number is positive or negative, respectively, | 1321 | They return non-nil if a number is positive or negative, respectively, |
| 1314 | and signal an error if they are given a non-number. The 'cl-lib' | 1322 | and signal an error if they are given a non-number. |
| 1315 | functions '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'. |
| 1320 | They return non-nil if an integer is odd or even, respectively, and | 1326 | They return non-nil if an integer is odd or even, respectively, and |
| 1321 | signal an error if they are given a non-integer. The 'cl-lib' functions | 1327 | signal 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 | ||