]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix last change to cl-extra.el.
authorBasil L. Contovounesios <basil@contovou.net>
Thu, 13 Feb 2025 17:40:07 +0000 (18:40 +0100)
committerEshel Yaron <me@eshelyaron.com>
Fri, 14 Feb 2025 11:44:09 +0000 (12:44 +0100)
(cherry picked from commit 9746fbc26415b5bff883b2134f316b2678528295)

lisp/emacs-lisp/cl-extra.el

index 5dc6bea5148f1c25338e4bccc05c8aa19db534ce..dad4819db3dd1364568ab18b771491f7456e55c2 100644 (file)
@@ -561,8 +561,8 @@ If END is omitted, it defaults to the length of the sequence.
 If START or END is negative, it counts from the end.
 Signal an error if START or END are outside of the sequence (i.e
 too large if positive or too small if negative)."
-  (declare (side-effect-free t))
-  (declare (gv-setter
+  (declare (side-effect-free t)
+           (gv-setter
             (lambda (new)
               (macroexp-let2 nil new new
                `(progn (cl-replace ,seq ,new :start1 ,start :end1 ,end)