mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
* lisp/emacs-lisp/cl-lib.el (cl-copy-list): Not error-free, bug#79396
This commit is contained in:
parent
c13c620f12
commit
a4ea22d998
1 changed files with 1 additions and 1 deletions
|
|
@ -486,7 +486,7 @@ Thus, `(cl-list* A B C D)' is equivalent to `(nconc (list A B C) D)', or to
|
|||
(defun cl-copy-list (list)
|
||||
"Return a copy of LIST, which may be a dotted list.
|
||||
The elements of LIST are not copied, just the list structure itself."
|
||||
(declare (side-effect-free error-free))
|
||||
(declare (side-effect-free t))
|
||||
(if (consp list)
|
||||
(let ((res nil))
|
||||
(while (consp list) (push (pop list) res))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue