From: Glenn Morris Date: Thu, 28 Aug 2014 01:55:45 +0000 (-0700) Subject: * lisp/subr.el (remq): Revert 2014-08-25 doc change (not always true). X-Git-Tag: emacs-25.0.90~2635^2~679^2~417 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=93b31b57283d369fefc5c95082d7b09288f05128;p=emacs.git * 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. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8f23c01de43..b2674b3b6af 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2014-08-28 Glenn Morris + + * subr.el (remq): Revert 2014-08-25 doc change (not always true). + 2014-08-27 Dmitry Antipov * startup.el (normal-top-level): Now use internal--top-level-message. diff --git a/lisp/subr.el b/lisp/subr.el index 2f2aea9d8a3..c168cf5fdb2 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'." (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))))