aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorChristoph Scholtes2014-08-24 21:16:36 -0600
committerChristoph Scholtes2014-08-24 21:16:36 -0600
commitd74553559b62cc7b07ed32c35391c1b75eda540f (patch)
tree37e07c6ace674f953d08d6dfee8f519d99273ae7 /lisp
parentf71da8959a645d0d7226b81ba8d1dee0a8348918 (diff)
downloademacs-d74553559b62cc7b07ed32c35391c1b75eda540f.tar.gz
emacs-d74553559b62cc7b07ed32c35391c1b75eda540f.zip
Fix docstring of `remq'
* lisp/subr.el (remq): Fix docstring. Fixes: debbugs:18253
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/subr.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9678fa7e24b..7588427dd83 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,9 @@
12014-08-25 Christoph Scholtes <cschol2112@gmail.com> 12014-08-25 Christoph Scholtes <cschol2112@gmail.com>
2 2
3 * subr.el (remq): Fix docstring (Bug#18253).
4
52014-08-25 Christoph Scholtes <cschol2112@gmail.com>
6
3 * replace.el (query-replace): Fix typo in docstring (Bug#18320). 7 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
4 8
52014-08-24 Alan Mackenzie <acm@muc.de> 92014-08-24 Alan Mackenzie <acm@muc.de>
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'."
565 (delete elt (copy-sequence seq)))) 565 (delete elt (copy-sequence seq))))
566 566
567(defun remq (elt list) 567(defun remq (elt list)
568 "Return LIST with all occurrences of ELT removed. 568 "Return a copy of LIST with all occurrences of ELT removed.
569The comparison is done with `eq'. Contrary to `delq', this does not use 569The comparison is done with `eq'. Contrary to `delq', this does not use
570side-effects, and the argument LIST is not modified." 570side-effects, and the argument LIST is not modified."
571 (while (and (eq elt (car list)) (setq list (cdr list)))) 571 (while (and (eq elt (car list)) (setq list (cdr list))))