bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#45610: 27.1; Symbol’s function definition is void: seq-concatenate


From: Leo Liu
Subject: bug#45610: 27.1; Symbol’s function definition is void: seq-concatenate
Date: Sun, 03 Jan 2021 00:07:47 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (macOS 10.14.6)

On 2021-01-02 16:25 +0200, Eli Zaretskii wrote:
> Thanks.  Then does the patch below fix the problem in Emacs 27.1?

Yes it does.

> diff --git a/lisp/emacs-lisp/cl-extra.el b/lisp/emacs-lisp/cl-extra.el
> index 9c9da4a..a6e6619 100644
> --- a/lisp/emacs-lisp/cl-extra.el
> +++ b/lisp/emacs-lisp/cl-extra.el
> @@ -556,6 +556,7 @@ cl-subseq
>  (defun cl-concatenate (type &rest sequences)
>    "Concatenate, into a sequence of type TYPE, the argument SEQUENCEs.
>  \n(fn TYPE SEQUENCE...)"
> +  (require 'seq)
>    (apply #'seq-concatenate type sequences))
>  
>  ;;; List functions.

But it seems the function will become slower when called regularly
because of the (require 'seq).

Is it better to remove cl-concatenate from the cl-proclaim list in
cl-macs.el?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]