aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2019-08-23 11:43:30 +0300
committerEli Zaretskii2019-08-23 11:43:30 +0300
commit0fa18503522b3016647cabd67eb4abce7aa092c1 (patch)
treef3921325659760f62dc4da03668300629d6d971c
parent49a8c8506a8477fd27ba924f14aa196e0d0813f9 (diff)
downloademacs-0fa18503522b3016647cabd67eb4abce7aa092c1.tar.gz
emacs-0fa18503522b3016647cabd67eb4abce7aa092c1.zip
; * lisp/emacs-lisp/cl-lib.el (cl-pushnew): Doc fix.
-rw-r--r--lisp/emacs-lisp/cl-lib.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/cl-lib.el b/lisp/emacs-lisp/cl-lib.el
index fceabf8c2e3..c09fcf51eba 100644
--- a/lisp/emacs-lisp/cl-lib.el
+++ b/lisp/emacs-lisp/cl-lib.el
@@ -129,11 +129,11 @@ The return value is the decremented value of PLACE."
129 (list 'cl-callf '- place (or x 1)))) 129 (list 'cl-callf '- place (or x 1))))
130 130
131(defmacro cl-pushnew (x place &rest keys) 131(defmacro cl-pushnew (x place &rest keys)
132 "Add X to the list stored in PLACE unless already X is already in the list. 132 "Add X to the list stored in PLACE unless X is already in the list.
133PLACE is a generalized variable that stores a list. 133PLACE is a generalized variable that stores a list.
134 134
135Like (push X PLACE), except that PLACE is unmodified if X is 135Like (push X PLACE), except that PLACE is unmodified if X is `eql'
136`eql' to an element already in PLACE list. 136to an element already in the list stored in PLACE.
137 137
138\nKeywords supported: :test :test-not :key 138\nKeywords supported: :test :test-not :key
139\n(fn X PLACE [KEYWORD VALUE]...)" 139\n(fn X PLACE [KEYWORD VALUE]...)"