Fix cl-concatenate inlining

* lisp/emacs-lisp/seq.el (seq-concatenate): Auto-load it.  Do not
merge to master.  (Bug#45610)
This commit is contained in:
Eli Zaretskii 2021-01-09 14:07:13 +02:00
parent 32a3758c84
commit 27743e9e70

View file

@ -284,6 +284,9 @@ sorted. FUNCTION must be a function of one argument."
(cl-defmethod seq-reverse ((sequence sequence))
(reverse sequence))
;; We are autoloading seq-concatenate because cl-concatenate needs
;; that when it's inlined, per the cl-proclaim in cl-macs.el.
;;;###autoload
(cl-defgeneric seq-concatenate (type &rest sequences)
"Concatenate SEQUENCES into a single sequence of type TYPE.
TYPE must be one of following symbols: vector, string or list.