From 4c7209e053d0ef3f441c184c191e5056e98a1198 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Wed, 16 Oct 2002 06:28:20 +0000 Subject: [PATCH] (remove, remq): Fix typo. --- lisp/subr.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) -- 2.39.2