1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Make cl-locally obsolete

* doc/misc/cl.texi (Declarations): Don't document cl-locally.
* lisp/emacs-lisp/cl-macs.el (cl-locally): Make into obsolete
function alias for progn.
This commit is contained in:
Stefan Kangas 2025-02-18 22:29:40 +01:00
parent ef34303eaf
commit 4c4f907bad
3 changed files with 6 additions and 8 deletions

View file

@ -2624,10 +2624,8 @@ values. For compatibility, (cl-values A B C) is a synonym for (list A B C).
;;; Declarations.
;;;###autoload
(defmacro cl-locally (&rest body)
"Equivalent to `progn'."
(declare (debug t))
(cons 'progn body))
(define-obsolete-function-alias 'cl-locally #'progn "31.1")
;;;###autoload
(defmacro cl-the (type form)
"Return FORM. If type-checking is enabled, assert that it is of TYPE."