Commit d7455355 authored by Christoph Scholtes's avatar Christoph Scholtes

Fix docstring of `remq'

* lisp/subr.el (remq): Fix docstring.

Fixes: debbugs:18253
parent f71da895
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).
......
......@@ -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))))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment