From: Juanma Barranquero Date: Wed, 16 Oct 2002 06:28:20 +0000 (+0000) Subject: (remove, remq): Fix typo. X-Git-Tag: emacs-pretest-21.2.92~43 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4c7209e053d0ef3f441c184c191e5056e98a1198;p=emacs.git (remove, remq): Fix typo. --- diff --git a/lisp/subr.el b/lisp/subr.el index eb09e39fb59..4072c44c6c5 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -153,7 +153,7 @@ If N is bigger than the length of X, return X." x)))) (defun remove (elt seq) - "Return a copy of SEQ with all occurences of ELT removed. + "Return a copy of SEQ with all occurrences of ELT removed. SEQ must be a list, vector, or string. The comparison is done with `equal'." (if (nlistp seq) ;; If SEQ isn't a list, there's no need to copy SEQ because @@ -162,7 +162,7 @@ SEQ must be a list, vector, or string. The comparison is done with `equal'." (delete elt (copy-sequence seq)))) (defun remq (elt list) - "Return a copy of LIST with all occurences of ELT removed. + "Return a copy of LIST with all occurrences of ELT removed. The comparison is done with `eq'." (if (memq elt list) (delq elt (copy-sequence list))