# HG changeset patch # User Colin Walters # Date 1023572520 0 # Node ID c311225c0346b104f56c65d8539f00f59a59fa50 # Parent b31ffbdd8d114695f52f673860d15cfa47f8e502 (copy-list): Moved to subr.el. diff -r b31ffbdd8d11 -r c311225c0346 lisp/emacs-lisp/cl.el --- a/lisp/emacs-lisp/cl.el Sat Jun 08 21:06:40 2002 +0000 +++ b/lisp/emacs-lisp/cl.el Sat Jun 08 21:42:00 2002 +0000 @@ -514,15 +514,6 @@ (push (pop list) res)) (nreverse res))) -(defun copy-list (list) - "Return a copy of a list, which may be a dotted list. -The elements of the list are not copied, just the list structure itself." - (if (consp list) - (let ((res nil)) - (while (consp list) (push (pop list) res)) - (prog1 (nreverse res) (setcdr res list))) - (car list))) - (defun cl-maclisp-member (item list) (while (and list (not (equal item (car list)))) (setq list (cdr list))) list)