From d74553559b62cc7b07ed32c35391c1b75eda540f Mon Sep 17 00:00:00 2001 From: Christoph Scholtes Date: Sun, 24 Aug 2014 21:16:36 -0600 Subject: [PATCH] Fix docstring of `remq' * lisp/subr.el (remq): Fix docstring. Fixes: debbugs:18253 --- lisp/ChangeLog | 4 ++++ lisp/subr.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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)))) -- 2.39.5