aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/emacs-lisp/cl.el9
1 files changed, 0 insertions, 9 deletions
diff --git a/lisp/emacs-lisp/cl.el b/lisp/emacs-lisp/cl.el
index c5d3ef0832e..def4d24188c 100644
--- a/lisp/emacs-lisp/cl.el
+++ b/lisp/emacs-lisp/cl.el
@@ -514,15 +514,6 @@ Thus, `(list* A B C D)' is equivalent to `(nconc (list A B C) D)', or to
514 (push (pop list) res)) 514 (push (pop list) res))
515 (nreverse res))) 515 (nreverse res)))
516 516
517(defun copy-list (list)
518 "Return a copy of a list, which may be a dotted list.
519The elements of the list are not copied, just the list structure itself."
520 (if (consp list)
521 (let ((res nil))
522 (while (consp list) (push (pop list) res))
523 (prog1 (nreverse res) (setcdr res list)))
524 (car list)))
525
526(defun cl-maclisp-member (item list) 517(defun cl-maclisp-member (item list)
527 (while (and list (not (equal item (car list)))) (setq list (cdr list))) 518 (while (and list (not (equal item (car list)))) (setq list (cdr list)))
528 list) 519 list)