]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix docstring of `remq'
authorChristoph Scholtes <cschol2112@gmail.com>
Mon, 25 Aug 2014 03:16:36 +0000 (21:16 -0600)
committerChristoph Scholtes <cschol2112@gmail.com>
Mon, 25 Aug 2014 03:16:36 +0000 (21:16 -0600)
* lisp/subr.el (remq): Fix docstring.

Fixes: debbugs:18253
lisp/ChangeLog
lisp/subr.el

index 9678fa7e24bd2da969e6e8d454188f93b7fb3a8f..7588427dd830f3b90daff3a1165845bd52587b94 100644 (file)
@@ -1,3 +1,7 @@
+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).
index c168cf5fdb29659299fa21f19f20ab272993d41b..2f2aea9d8a3a466c91db7c302d4949e781d0475f 100644 (file)
@@ -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))))