From: Christoph Scholtes Date: Mon, 25 Aug 2014 03:16:36 +0000 (-0600) Subject: Fix docstring of `remq' X-Git-Tag: emacs-25.0.90~2635^2~679^2~439 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d74553559b62cc7b07ed32c35391c1b75eda540f;p=emacs.git Fix docstring of `remq' * lisp/subr.el (remq): Fix docstring. Fixes: debbugs:18253 --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9678fa7e24b..7588427dd83 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2014-08-25 Christoph Scholtes + + * subr.el (remq): Fix docstring (Bug#18253). + 2014-08-25 Christoph Scholtes * replace.el (query-replace): Fix typo in docstring (Bug#18320). diff --git a/lisp/subr.el b/lisp/subr.el index c168cf5fdb2..2f2aea9d8a3 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -565,7 +565,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 LIST with all occurrences of ELT removed. + "Return a copy of LIST with all occurrences of ELT removed. The comparison is done with `eq'. Contrary to `delq', this does not use side-effects, and the argument LIST is not modified." (while (and (eq elt (car list)) (setq list (cdr list))))