]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "Make cl-concatenate an alias of seq-concatenate"
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 13 Apr 2022 04:07:32 +0000 (06:07 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 13 Apr 2022 04:11:51 +0000 (06:11 +0200)
This reverts commit 78f76fe16e2737b40694f82af28d17a90a21ed7b.

The commit made calls to cl-concatenate bug out, since
autoloading defalises doesn't work very well (bug#54901).

lisp/emacs-lisp/cl-extra.el

index ed9b1b7d836c7db976ae0f51ad198b8e7c69b78f..fd94554ca1935e4433e1566b599cc465a1c69c64 100644 (file)
@@ -554,9 +554,10 @@ too large if positive or too small if negative)."
   (seq-subseq seq start end))
 
 ;;;###autoload
-(defalias 'cl-concatenate #'seq-concatenate
+(defun cl-concatenate (type &rest sequences)
   "Concatenate, into a sequence of type TYPE, the argument SEQUENCEs.
-\n(fn TYPE SEQUENCE...)")
+\n(fn TYPE SEQUENCE...)"
+  (apply #'seq-concatenate type sequences))
 
 ;;; List functions.