summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2021-01-09 14:07:13 +0200
committerEli Zaretskii <eliz@gnu.org>2021-01-09 14:07:13 +0200
commit27743e9e709aa9b6cf5e84d2dfa97a68fc359cab (patch)
tree78211a41b52aac983fbff4ffcff721b0682710ea
parent32a3758c84a6031b118fbcce91606d307a93cc14 (diff)
downloademacs-27743e9e709aa9b6cf5e84d2dfa97a68fc359cab.tar.gz
Fix cl-concatenate inlining
* lisp/emacs-lisp/seq.el (seq-concatenate): Auto-load it. Do not merge to master. (Bug#45610)
-rw-r--r--lisp/emacs-lisp/seq.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/seq.el b/lisp/emacs-lisp/seq.el
index e84f618297a..ef2b1092c83 100644
--- a/lisp/emacs-lisp/seq.el
+++ b/lisp/emacs-lisp/seq.el
@@ -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.