]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/emacs-lisp/cl-lib.el (cl-pushnew): Doc fix.
authorEli Zaretskii <eliz@gnu.org>
Fri, 23 Aug 2019 08:43:30 +0000 (11:43 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 23 Aug 2019 08:43:30 +0000 (11:43 +0300)
lisp/emacs-lisp/cl-lib.el

index fceabf8c2e3361a42a0233a101c2ebff341bb382..c09fcf51eba6d16b6b85640509c2d3ce41627c35 100644 (file)
@@ -129,11 +129,11 @@ The return value is the decremented value of PLACE."
     (list 'cl-callf '- place (or x 1))))
 
 (defmacro cl-pushnew (x place &rest keys)
-  "Add X to the list stored in PLACE unless already X is already in the list.
+  "Add X to the list stored in PLACE unless X is already in the list.
 PLACE is a generalized variable that stores a list.
 
-Like (push X PLACE), except that PLACE is unmodified if X is
-`eql' to an element already in PLACE list.
+Like (push X PLACE), except that PLACE is unmodified if X is `eql'
+to an element already in the list stored in PLACE.
 
 \nKeywords supported:  :test :test-not :key
 \n(fn X PLACE [KEYWORD VALUE]...)"