Make cl-concatenate an alias of seq-concatenate

* lisp/emacs-lisp/cl-extra.el (cl-concatenate): Use defalias instead
of apply.  This is simpler and more efficient.
This commit is contained in:
Noam Postavsky 2020-03-23 18:58:21 -04:00
parent 5d5d5d492c
commit 78f76fe16e

View file

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