* lisp/subr.el (remq): Fix docstring.
Fixes: debbugs:18253
+2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
+
+ * subr.el (remq): Fix docstring (Bug#18253).
+
2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
* replace.el (query-replace): Fix typo in docstring (Bug#18320).
(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))))