* lisp/subr.el (remq): Revert 2014-08-25 doc change (not always true).

See the interminable bug discussion if you have nothing better to do.
This commit is contained in:
Glenn Morris 2014-08-27 18:55:45 -07:00
parent cbe070d114
commit 93b31b5728
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2014-08-28 Glenn Morris <rgm@gnu.org>
* subr.el (remq): Revert 2014-08-25 doc change (not always true).
2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
* startup.el (normal-top-level): Now use internal--top-level-message.

View 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 a copy of LIST with all occurrences of ELT removed.
"Return 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))))