Fix compiler-expansion of CL's cXXr functions.
[bpt/emacs.git] / lisp / emacs-lisp / cl-loaddefs.el
CommitLineData
d1b8746d
SM
1;;; cl-loaddefs.el --- automatically extracted autoloads
2;;
3;;; Code:
4
5\f
bb3faf5b 6;;;### (autoloads (cl-prettyexpand cl-remprop cl--do-remf cl--set-getf
6fa6c4ae
SM
7;;;;;; cl-getf cl-get cl-tailp cl-list-length cl-nreconc cl-revappend
8;;;;;; cl-concatenate cl-subseq cl-float-limits cl-random-state-p
9;;;;;; cl-make-random-state cl-random cl-signum cl-rem cl-mod cl-round
bb3faf5b
SM
10;;;;;; cl-truncate cl-ceiling cl-floor cl-isqrt cl-lcm cl-gcd cl--progv-before
11;;;;;; cl--set-frame-visible-p cl--map-overlays cl--map-intervals
12;;;;;; cl--map-keymap-recursively cl-notevery cl-notany cl-every
13;;;;;; cl-some cl-mapcon cl-mapcan cl-mapl cl-maplist cl-map cl--mapcar-many
14;;;;;; cl-equalp cl-coerce) "cl-extra" "cl-extra.el" "1f486111e93d119ceb6e95c434e3fd4b")
d1b8746d
SM
15;;; Generated autoloads from cl-extra.el
16
093c0257 17(autoload 'cl-coerce "cl-extra" "\
d1b8746d
SM
18Coerce OBJECT to type TYPE.
19TYPE is a Common Lisp type specifier.
20
21\(fn OBJECT TYPE)" nil nil)
22
093c0257 23(autoload 'cl-equalp "cl-extra" "\
d1b8746d
SM
24Return t if two Lisp objects have similar structures and contents.
25This is like `equal', except that it accepts numerically equal
26numbers of different types (float vs. integer), and also compares
27strings case-insensitively.
28
29\(fn X Y)" nil nil)
30
bb3faf5b 31(autoload 'cl--mapcar-many "cl-extra" "\
01db225d 32
d1b8746d
SM
33
34\(fn CL-FUNC CL-SEQS)" nil nil)
35
093c0257 36(autoload 'cl-map "cl-extra" "\
d1b8746d
SM
37Map a FUNCTION across one or more SEQUENCEs, returning a sequence.
38TYPE is the sequence type to return.
39
40\(fn TYPE FUNCTION SEQUENCE...)" nil nil)
41
093c0257 42(autoload 'cl-maplist "cl-extra" "\
d1b8746d
SM
43Map FUNCTION to each sublist of LIST or LISTs.
44Like `mapcar', except applies to lists and their cdr's rather than to
45the elements themselves.
46
47\(fn FUNCTION LIST...)" nil nil)
48
093c0257
SM
49(autoload 'cl-mapl "cl-extra" "\
50Like `cl-maplist', but does not accumulate values returned by the function.
d1b8746d
SM
51
52\(fn FUNCTION LIST...)" nil nil)
53
093c0257 54(autoload 'cl-mapcan "cl-extra" "\
d1b8746d
SM
55Like `mapcar', but nconc's together the values returned by the function.
56
57\(fn FUNCTION SEQUENCE...)" nil nil)
58
093c0257
SM
59(autoload 'cl-mapcon "cl-extra" "\
60Like `cl-maplist', but nconc's together the values returned by the function.
d1b8746d
SM
61
62\(fn FUNCTION LIST...)" nil nil)
63
093c0257 64(autoload 'cl-some "cl-extra" "\
d1b8746d
SM
65Return true if PREDICATE is true of any element of SEQ or SEQs.
66If so, return the true (non-nil) value returned by PREDICATE.
67
68\(fn PREDICATE SEQ...)" nil nil)
69
093c0257 70(autoload 'cl-every "cl-extra" "\
d1b8746d
SM
71Return true if PREDICATE is true of every element of SEQ or SEQs.
72
73\(fn PREDICATE SEQ...)" nil nil)
74
093c0257 75(autoload 'cl-notany "cl-extra" "\
d1b8746d
SM
76Return true if PREDICATE is false of every element of SEQ or SEQs.
77
78\(fn PREDICATE SEQ...)" nil nil)
79
093c0257 80(autoload 'cl-notevery "cl-extra" "\
d1b8746d
SM
81Return true if PREDICATE is false of some element of SEQ or SEQs.
82
83\(fn PREDICATE SEQ...)" nil nil)
84
bb3faf5b 85(autoload 'cl--map-keymap-recursively "cl-extra" "\
01db225d 86
d1b8746d
SM
87
88\(fn CL-FUNC-REC CL-MAP &optional CL-BASE)" nil nil)
89
bb3faf5b 90(autoload 'cl--map-intervals "cl-extra" "\
01db225d 91
d1b8746d
SM
92
93\(fn CL-FUNC &optional CL-WHAT CL-PROP CL-START CL-END)" nil nil)
94
bb3faf5b 95(autoload 'cl--map-overlays "cl-extra" "\
01db225d 96
d1b8746d
SM
97
98\(fn CL-FUNC &optional CL-BUFFER CL-START CL-END CL-ARG)" nil nil)
99
bb3faf5b 100(autoload 'cl--set-frame-visible-p "cl-extra" "\
01db225d 101
d1b8746d
SM
102
103\(fn FRAME VAL)" nil nil)
104
bb3faf5b 105(autoload 'cl--progv-before "cl-extra" "\
01db225d 106
d1b8746d
SM
107
108\(fn SYMS VALUES)" nil nil)
109
093c0257 110(autoload 'cl-gcd "cl-extra" "\
d1b8746d
SM
111Return the greatest common divisor of the arguments.
112
113\(fn &rest ARGS)" nil nil)
114
093c0257 115(autoload 'cl-lcm "cl-extra" "\
d1b8746d
SM
116Return the least common multiple of the arguments.
117
118\(fn &rest ARGS)" nil nil)
119
093c0257 120(autoload 'cl-isqrt "cl-extra" "\
d1b8746d
SM
121Return the integer square root of the argument.
122
123\(fn X)" nil nil)
124
093c0257 125(autoload 'cl-floor "cl-extra" "\
d1b8746d
SM
126Return a list of the floor of X and the fractional part of X.
127With two arguments, return floor and remainder of their quotient.
128
129\(fn X &optional Y)" nil nil)
130
093c0257 131(autoload 'cl-ceiling "cl-extra" "\
d1b8746d
SM
132Return a list of the ceiling of X and the fractional part of X.
133With two arguments, return ceiling and remainder of their quotient.
134
135\(fn X &optional Y)" nil nil)
136
093c0257 137(autoload 'cl-truncate "cl-extra" "\
d1b8746d
SM
138Return a list of the integer part of X and the fractional part of X.
139With two arguments, return truncation and remainder of their quotient.
140
141\(fn X &optional Y)" nil nil)
142
093c0257 143(autoload 'cl-round "cl-extra" "\
d1b8746d
SM
144Return a list of X rounded to the nearest integer and the remainder.
145With two arguments, return rounding and remainder of their quotient.
146
147\(fn X &optional Y)" nil nil)
148
093c0257 149(autoload 'cl-mod "cl-extra" "\
d1b8746d
SM
150The remainder of X divided by Y, with the same sign as Y.
151
152\(fn X Y)" nil nil)
153
093c0257 154(autoload 'cl-rem "cl-extra" "\
d1b8746d
SM
155The remainder of X divided by Y, with the same sign as X.
156
157\(fn X Y)" nil nil)
158
093c0257 159(autoload 'cl-signum "cl-extra" "\
d1b8746d
SM
160Return 1 if X is positive, -1 if negative, 0 if zero.
161
162\(fn X)" nil nil)
163
093c0257 164(autoload 'cl-random "cl-extra" "\
d1b8746d
SM
165Return a random nonnegative number less than LIM, an integer or float.
166Optional second arg STATE is a random-state object.
167
168\(fn LIM &optional STATE)" nil nil)
169
093c0257 170(autoload 'cl-make-random-state "cl-extra" "\
4735906a 171Return a copy of random-state STATE, or of the internal state if omitted.
d1b8746d
SM
172If STATE is t, return a new state object seeded from the time of day.
173
174\(fn &optional STATE)" nil nil)
175
093c0257 176(autoload 'cl-random-state-p "cl-extra" "\
d1b8746d
SM
177Return t if OBJECT is a random-state object.
178
179\(fn OBJECT)" nil nil)
180
5c4133cb 181(autoload 'cl-float-limits "cl-extra" "\
01db225d 182Initialize the Common Lisp floating-point parameters.
093c0257
SM
183This sets the values of: `cl-most-positive-float', `cl-most-negative-float',
184`cl-least-positive-float', `cl-least-negative-float', `cl-float-epsilon',
185`cl-float-negative-epsilon', `cl-least-positive-normalized-float', and
186`cl-least-negative-normalized-float'.
d1b8746d
SM
187
188\(fn)" nil nil)
189
093c0257 190(autoload 'cl-subseq "cl-extra" "\
d1b8746d
SM
191Return the subsequence of SEQ from START to END.
192If END is omitted, it defaults to the length of the sequence.
193If START or END is negative, it counts from the end.
194
195\(fn SEQ START &optional END)" nil nil)
196
093c0257 197(autoload 'cl-concatenate "cl-extra" "\
d1b8746d
SM
198Concatenate, into a sequence of type TYPE, the argument SEQUENCEs.
199
200\(fn TYPE SEQUENCE...)" nil nil)
201
093c0257 202(autoload 'cl-revappend "cl-extra" "\
d1b8746d
SM
203Equivalent to (append (reverse X) Y).
204
205\(fn X Y)" nil nil)
206
093c0257 207(autoload 'cl-nreconc "cl-extra" "\
d1b8746d
SM
208Equivalent to (nconc (nreverse X) Y).
209
210\(fn X Y)" nil nil)
211
093c0257 212(autoload 'cl-list-length "cl-extra" "\
d1b8746d
SM
213Return the length of list X. Return nil if list is circular.
214
215\(fn X)" nil nil)
216
093c0257 217(autoload 'cl-tailp "cl-extra" "\
d1b8746d
SM
218Return true if SUBLIST is a tail of LIST.
219
220\(fn SUBLIST LIST)" nil nil)
221
093c0257 222(autoload 'cl-get "cl-extra" "\
d1b8746d
SM
223Return the value of SYMBOL's PROPNAME property, or DEFAULT if none.
224
225\(fn SYMBOL PROPNAME &optional DEFAULT)" nil nil)
226
d9857e53
SM
227(put 'cl-get 'compiler-macro #'cl--compiler-macro-get)
228
093c0257 229(autoload 'cl-getf "cl-extra" "\
d1b8746d
SM
230Search PROPLIST for property PROPNAME; return its value or DEFAULT.
231PROPLIST is a list of the sort returned by `symbol-plist'.
232
233\(fn PROPLIST PROPNAME &optional DEFAULT)" nil nil)
234
bb3faf5b 235(autoload 'cl--set-getf "cl-extra" "\
01db225d 236
d1b8746d
SM
237
238\(fn PLIST TAG VAL)" nil nil)
239
bb3faf5b 240(autoload 'cl--do-remf "cl-extra" "\
01db225d 241
d1b8746d
SM
242
243\(fn PLIST TAG)" nil nil)
244
5c4133cb 245(autoload 'cl-remprop "cl-extra" "\
d1b8746d
SM
246Remove from SYMBOL's plist the property PROPNAME and its value.
247
248\(fn SYMBOL PROPNAME)" nil nil)
249
5c4133cb 250(autoload 'cl-prettyexpand "cl-extra" "\
01db225d 251
d1b8746d
SM
252
253\(fn FORM &optional FULL)" nil nil)
254
255;;;***
256\f
71adb94b
SM
257;;;### (autoloads (cl--compiler-macro-cXXr cl--compiler-macro-list*
258;;;;;; cl--compiler-macro-adjoin cl-defsubst cl-compiler-macroexpand
259;;;;;; cl-define-compiler-macro cl-assert cl-check-type cl-typep
260;;;;;; cl-deftype cl-struct-setf-expander cl-defstruct cl-define-modify-macro
261;;;;;; cl-callf2 cl-callf cl-letf* cl-letf cl-rotatef cl-shiftf
262;;;;;; cl-remf cl-do-pop cl-psetf cl-setf cl-get-setf-method cl-defsetf
263;;;;;; cl-define-setf-expander cl-declare cl-the cl-locally cl-multiple-value-setq
264;;;;;; cl-multiple-value-bind cl-symbol-macrolet cl-macrolet cl-labels
265;;;;;; cl-flet cl-progv cl-psetq cl-do-all-symbols cl-do-symbols
266;;;;;; cl-dotimes cl-dolist cl-do* cl-do cl-loop cl-return-from
267;;;;;; cl-return cl-block cl-etypecase cl-typecase cl-ecase cl-case
268;;;;;; cl-load-time-value cl-eval-when cl-destructuring-bind cl-function
269;;;;;; cl-defmacro cl-defun cl-gentemp cl-gensym) "cl-macs" "cl-macs.el"
270;;;;;; "5eba72da8ff76ec1346aa355feb936cb")
d1b8746d
SM
271;;; Generated autoloads from cl-macs.el
272
093c0257 273(autoload 'cl-gensym "cl-macs" "\
d1b8746d
SM
274Generate a new uninterned symbol.
275The name is made by appending a number to PREFIX, default \"G\".
276
277\(fn &optional PREFIX)" nil nil)
278
093c0257 279(autoload 'cl-gentemp "cl-macs" "\
d1b8746d
SM
280Generate a new interned symbol with a unique name.
281The name is made by appending a number to PREFIX, default \"G\".
282
283\(fn &optional PREFIX)" nil nil)
284
093c0257 285(autoload 'cl-defun "cl-macs" "\
d1b8746d
SM
286Define NAME as a function.
287Like normal `defun', except ARGLIST allows full Common Lisp conventions,
093c0257 288and BODY is implicitly surrounded by (cl-block NAME ...).
d1b8746d 289
03fef3e6 290\(fn NAME ARGLIST [DOCSTRING] BODY...)" nil t)
b581bb5c 291
093c0257 292(put 'cl-defun 'doc-string-elt '3)
b581bb5c 293
093c0257 294(put 'cl-defun 'lisp-indent-function '2)
03fef3e6 295
093c0257 296(autoload 'cl-defmacro "cl-macs" "\
d1b8746d
SM
297Define NAME as a macro.
298Like normal `defmacro', except ARGLIST allows full Common Lisp conventions,
093c0257 299and BODY is implicitly surrounded by (cl-block NAME ...).
d1b8746d 300
03fef3e6 301\(fn NAME ARGLIST [DOCSTRING] BODY...)" nil t)
b581bb5c 302
093c0257 303(put 'cl-defmacro 'doc-string-elt '3)
b581bb5c 304
093c0257 305(put 'cl-defmacro 'lisp-indent-function '2)
03fef3e6 306
093c0257 307(autoload 'cl-function "cl-macs" "\
d1b8746d
SM
308Introduce a function.
309Like normal `function', except that if argument is a lambda form,
310its argument list allows full Common Lisp conventions.
311
03fef3e6 312\(fn FUNC)" nil t)
d1b8746d 313
093c0257 314(autoload 'cl-destructuring-bind "cl-macs" "\
0d6459df 315
d1b8746d 316
03fef3e6 317\(fn ARGS EXPR &rest BODY)" nil t)
d1b8746d 318
093c0257 319(put 'cl-destructuring-bind 'lisp-indent-function '2)
b581bb5c 320
093c0257 321(autoload 'cl-eval-when "cl-macs" "\
d1b8746d
SM
322Control when BODY is evaluated.
323If `compile' is in WHEN, BODY is evaluated when compiled at top-level.
324If `load' is in WHEN, BODY is evaluated when loaded after top-level compile.
325If `eval' is in WHEN, BODY is evaluated when interpreted or at non-top-level.
326
03fef3e6 327\(fn (WHEN...) BODY...)" nil t)
d1b8746d 328
093c0257 329(put 'cl-eval-when 'lisp-indent-function '1)
b581bb5c 330
093c0257 331(autoload 'cl-load-time-value "cl-macs" "\
d1b8746d
SM
332Like `progn', but evaluates the body at load time.
333The result of the body appears to the compiler as a quoted constant.
334
03fef3e6 335\(fn FORM &optional READ-ONLY)" nil t)
d1b8746d 336
093c0257 337(autoload 'cl-case "cl-macs" "\
d1b8746d
SM
338Eval EXPR and choose among clauses on that value.
339Each clause looks like (KEYLIST BODY...). EXPR is evaluated and compared
340against each key in each KEYLIST; the corresponding BODY is evaluated.
093c0257 341If no clause succeeds, cl-case returns nil. A single atom may be used in
d1b8746d
SM
342place of a KEYLIST of one atom. A KEYLIST of t or `otherwise' is
343allowed only in the final clause, and matches if no other keys match.
344Key values are compared by `eql'.
345
03fef3e6 346\(fn EXPR (KEYLIST BODY...)...)" nil t)
d1b8746d 347
093c0257 348(put 'cl-case 'lisp-indent-function '1)
b581bb5c 349
093c0257
SM
350(autoload 'cl-ecase "cl-macs" "\
351Like `cl-case', but error if no cl-case fits.
d1b8746d
SM
352`otherwise'-clauses are not allowed.
353
03fef3e6 354\(fn EXPR (KEYLIST BODY...)...)" nil t)
d1b8746d 355
093c0257 356(put 'cl-ecase 'lisp-indent-function '1)
b581bb5c 357
093c0257 358(autoload 'cl-typecase "cl-macs" "\
d1b8746d
SM
359Evals EXPR, chooses among clauses on that value.
360Each clause looks like (TYPE BODY...). EXPR is evaluated and, if it
361satisfies TYPE, the corresponding BODY is evaluated. If no clause succeeds,
093c0257 362cl-typecase returns nil. A TYPE of t or `otherwise' is allowed only in the
d1b8746d
SM
363final clause, and matches if no other keys match.
364
03fef3e6 365\(fn EXPR (TYPE BODY...)...)" nil t)
d1b8746d 366
093c0257 367(put 'cl-typecase 'lisp-indent-function '1)
b581bb5c 368
093c0257
SM
369(autoload 'cl-etypecase "cl-macs" "\
370Like `cl-typecase', but error if no case fits.
d1b8746d
SM
371`otherwise'-clauses are not allowed.
372
03fef3e6 373\(fn EXPR (TYPE BODY...)...)" nil t)
d1b8746d 374
093c0257 375(put 'cl-etypecase 'lisp-indent-function '1)
b581bb5c 376
093c0257 377(autoload 'cl-block "cl-macs" "\
d1b8746d 378Define a lexically-scoped block named NAME.
093c0257 379NAME may be any symbol. Code inside the BODY forms can call `cl-return-from'
d1b8746d
SM
380to jump prematurely out of the block. This differs from `catch' and `throw'
381in two respects: First, the NAME is an unevaluated symbol rather than a
382quoted symbol or other form; and second, NAME is lexically rather than
383dynamically scoped: Only references to it within BODY will work. These
384references may appear inside macro expansions, but not inside functions
385called from BODY.
386
03fef3e6 387\(fn NAME &rest BODY)" nil t)
d1b8746d 388
093c0257 389(put 'cl-block 'lisp-indent-function '1)
b581bb5c 390
093c0257 391(autoload 'cl-return "cl-macs" "\
d1b8746d 392Return from the block named nil.
093c0257 393This is equivalent to `(cl-return-from nil RESULT)'.
d1b8746d 394
03fef3e6 395\(fn &optional RESULT)" nil t)
d1b8746d 396
093c0257 397(autoload 'cl-return-from "cl-macs" "\
d1b8746d 398Return from the block named NAME.
093c0257 399This jumps out to the innermost enclosing `(cl-block NAME ...)' form,
d1b8746d
SM
400returning RESULT from that form (or nil if RESULT is omitted).
401This is compatible with Common Lisp, but note that `defun' and
402`defmacro' do not create implicit blocks as they do in Common Lisp.
403
03fef3e6 404\(fn NAME &optional RESULT)" nil t)
d1b8746d 405
093c0257 406(put 'cl-return-from 'lisp-indent-function '1)
b581bb5c 407
093c0257
SM
408(autoload 'cl-loop "cl-macs" "\
409The Common Lisp `cl-loop' macro.
d1b8746d
SM
410Valid clauses are:
411 for VAR from/upfrom/downfrom NUM to/upto/downto/above/below NUM by NUM,
412 for VAR in LIST by FUNC, for VAR on LIST by FUNC, for VAR = INIT then EXPR,
413 for VAR across ARRAY, repeat NUM, with VAR = INIT, while COND, until COND,
414 always COND, never COND, thereis COND, collect EXPR into VAR,
415 append EXPR into VAR, nconc EXPR into VAR, sum EXPR into VAR,
416 count EXPR into VAR, maximize EXPR into VAR, minimize EXPR into VAR,
417 if COND CLAUSE [and CLAUSE]... else CLAUSE [and CLAUSE...],
418 unless COND CLAUSE [and CLAUSE]... else CLAUSE [and CLAUSE...],
419 do EXPRS..., initially EXPRS..., finally EXPRS..., return EXPR,
420 finally return EXPR, named NAME.
421
03fef3e6 422\(fn CLAUSE...)" nil t)
d1b8746d 423
093c0257
SM
424(autoload 'cl-do "cl-macs" "\
425The Common Lisp `cl-do' loop.
d1b8746d 426
03fef3e6 427\(fn ((VAR INIT [STEP])...) (END-TEST [RESULT...]) BODY...)" nil t)
d1b8746d 428
093c0257 429(put 'cl-do 'lisp-indent-function '2)
b581bb5c 430
093c0257
SM
431(autoload 'cl-do* "cl-macs" "\
432The Common Lisp `cl-do*' loop.
d1b8746d 433
03fef3e6 434\(fn ((VAR INIT [STEP])...) (END-TEST [RESULT...]) BODY...)" nil t)
d1b8746d 435
093c0257 436(put 'cl-do* 'lisp-indent-function '2)
b581bb5c 437
093c0257 438(autoload 'cl-dolist "cl-macs" "\
d1b8746d
SM
439Loop over a list.
440Evaluate BODY with VAR bound to each `car' from LIST, in turn.
441Then evaluate RESULT to get return value, default nil.
568352e7 442An implicit nil block is established around the loop.
d1b8746d 443
03fef3e6 444\(fn (VAR LIST [RESULT]) BODY...)" nil t)
d1b8746d 445
093c0257 446(autoload 'cl-dotimes "cl-macs" "\
d1b8746d
SM
447Loop a certain number of times.
448Evaluate BODY with VAR bound to successive integers from 0, inclusive,
449to COUNT, exclusive. Then evaluate RESULT to get return value, default
450nil.
451
03fef3e6 452\(fn (VAR COUNT [RESULT]) BODY...)" nil t)
d1b8746d 453
093c0257 454(autoload 'cl-do-symbols "cl-macs" "\
d1b8746d
SM
455Loop over all symbols.
456Evaluate BODY with VAR bound to each interned symbol, or to each symbol
457from OBARRAY.
458
03fef3e6 459\(fn (VAR [OBARRAY [RESULT]]) BODY...)" nil t)
d1b8746d 460
093c0257 461(put 'cl-do-symbols 'lisp-indent-function '1)
b581bb5c 462
093c0257 463(autoload 'cl-do-all-symbols "cl-macs" "\
0d6459df 464
d1b8746d 465
03fef3e6 466\(fn SPEC &rest BODY)" nil t)
d1b8746d 467
093c0257 468(put 'cl-do-all-symbols 'lisp-indent-function '1)
b581bb5c 469
093c0257 470(autoload 'cl-psetq "cl-macs" "\
d1b8746d
SM
471Set SYMs to the values VALs in parallel.
472This is like `setq', except that all VAL forms are evaluated (in order)
473before assigning any symbols SYM to the corresponding values.
474
03fef3e6 475\(fn SYM VAL SYM VAL ...)" nil t)
d1b8746d 476
093c0257 477(autoload 'cl-progv "cl-macs" "\
d1b8746d
SM
478Bind SYMBOLS to VALUES dynamically in BODY.
479The forms SYMBOLS and VALUES are evaluated, and must evaluate to lists.
480Each symbol in the first list is bound to the corresponding value in the
481second list (or made unbound if VALUES is shorter than SYMBOLS); then the
482BODY forms are executed and their result is returned. This is much like
483a `let' form, except that the list of symbols can be computed at run-time.
484
03fef3e6 485\(fn SYMBOLS VALUES &rest BODY)" nil t)
d1b8746d 486
093c0257 487(put 'cl-progv 'lisp-indent-function '2)
b581bb5c 488
093c0257 489(autoload 'cl-flet "cl-macs" "\
d1b8746d 490Make temporary function definitions.
de7e2b36 491Like `cl-labels' but the definitions are not recursive.
d1b8746d 492
03fef3e6 493\(fn ((FUNC ARGLIST BODY...) ...) FORM...)" nil t)
d1b8746d 494
093c0257 495(put 'cl-flet 'lisp-indent-function '1)
b581bb5c 496
093c0257 497(autoload 'cl-labels "cl-macs" "\
d1b8746d 498Make temporary function bindings.
de7e2b36 499The bindings can be recursive. Assumes the use of `lexical-binding'.
d1b8746d 500
03fef3e6 501\(fn ((FUNC ARGLIST BODY...) ...) FORM...)" nil t)
d1b8746d 502
093c0257 503(put 'cl-labels 'lisp-indent-function '1)
b581bb5c 504
093c0257 505(autoload 'cl-macrolet "cl-macs" "\
d1b8746d 506Make temporary macro definitions.
093c0257 507This is like `cl-flet', but for macros instead of functions.
d1b8746d 508
03fef3e6 509\(fn ((NAME ARGLIST BODY...) ...) FORM...)" nil t)
d1b8746d 510
093c0257 511(put 'cl-macrolet 'lisp-indent-function '1)
b581bb5c 512
093c0257 513(autoload 'cl-symbol-macrolet "cl-macs" "\
d1b8746d
SM
514Make symbol macro definitions.
515Within the body FORMs, references to the variable NAME will be replaced
093c0257 516by EXPANSION, and (setq NAME ...) will act like (cl-setf EXPANSION ...).
d1b8746d 517
03fef3e6 518\(fn ((NAME EXPANSION) ...) FORM...)" nil t)
d1b8746d 519
093c0257 520(put 'cl-symbol-macrolet 'lisp-indent-function '1)
b581bb5c 521
093c0257 522(autoload 'cl-multiple-value-bind "cl-macs" "\
d1b8746d
SM
523Collect multiple return values.
524FORM must return a list; the BODY is then executed with the first N elements
525of this list bound (`let'-style) to each of the symbols SYM in turn. This
093c0257
SM
526is analogous to the Common Lisp `cl-multiple-value-bind' macro, using lists to
527simulate true multiple return values. For compatibility, (cl-values A B C) is
d1b8746d
SM
528a synonym for (list A B C).
529
03fef3e6 530\(fn (SYM...) FORM BODY)" nil t)
d1b8746d 531
093c0257 532(put 'cl-multiple-value-bind 'lisp-indent-function '2)
b581bb5c 533
093c0257 534(autoload 'cl-multiple-value-setq "cl-macs" "\
d1b8746d
SM
535Collect multiple return values.
536FORM must return a list; the first N elements of this list are stored in
537each of the symbols SYM in turn. This is analogous to the Common Lisp
093c0257
SM
538`cl-multiple-value-setq' macro, using lists to simulate true multiple return
539values. For compatibility, (cl-values A B C) is a synonym for (list A B C).
d1b8746d 540
03fef3e6 541\(fn (SYM...) FORM)" nil t)
d1b8746d 542
093c0257 543(put 'cl-multiple-value-setq 'lisp-indent-function '1)
b581bb5c 544
093c0257 545(autoload 'cl-locally "cl-macs" "\
0d6459df 546
d1b8746d 547
03fef3e6 548\(fn &rest BODY)" nil t)
d1b8746d 549
093c0257 550(autoload 'cl-the "cl-macs" "\
ba83908c
SM
551
552
03fef3e6 553\(fn TYPE FORM)" nil t)
ba83908c 554
093c0257 555(put 'cl-the 'lisp-indent-function '1)
b581bb5c 556
093c0257 557(autoload 'cl-declare "cl-macs" "\
7b41decb 558Declare SPECS about the current function while compiling.
1b5eaeb3 559For instance
0d6459df 560
093c0257 561 (cl-declare (warn 0))
1b5eaeb3 562
7b41decb
LMI
563will turn off byte-compile warnings in the function.
564See Info node `(cl)Declarations' for details.
d1b8746d 565
03fef3e6 566\(fn &rest SPECS)" nil t)
d1b8746d 567
4dd1c416 568(autoload 'cl-define-setf-expander "cl-macs" "\
093c0257
SM
569Define a `cl-setf' method.
570This method shows how to handle `cl-setf's to places of the form (NAME ARGS...).
d1b8746d
SM
571The argument forms ARGS are bound according to ARGLIST, as if NAME were
572going to be expanded as a macro, then the BODY forms are executed and must
573return a list of five elements: a temporary-variables list, a value-forms
574list, a store-variables list (of length one), a store-form, and an access-
093c0257 575form. See `cl-defsetf' for a simpler way to define most setf-methods.
d1b8746d 576
03fef3e6 577\(fn NAME ARGLIST BODY...)" nil t)
d1b8746d 578
093c0257
SM
579(autoload 'cl-defsetf "cl-macs" "\
580Define a `cl-setf' method.
4dd1c416 581This macro is an easy-to-use substitute for `cl-define-setf-expander' that works
093c0257
SM
582well for simple place forms. In the simple `cl-defsetf' form, `cl-setf's of
583the form (cl-setf (NAME ARGS...) VAL) are transformed to function or macro
d1b8746d
SM
584calls of the form (FUNC ARGS... VAL). Example:
585
093c0257 586 (cl-defsetf aref aset)
d1b8746d 587
093c0257
SM
588Alternate form: (cl-defsetf NAME ARGLIST (STORE) BODY...).
589Here, the above `cl-setf' call is expanded by binding the argument forms ARGS
d1b8746d 590according to ARGLIST, binding the value form VAL to STORE, then executing
093c0257 591BODY, which must return a Lisp form that does the necessary `cl-setf' operation.
d1b8746d
SM
592Actually, ARGLIST and STORE may be bound to temporary variables which are
593introduced automatically to preserve proper execution order of the arguments.
594Example:
595
093c0257 596 (cl-defsetf nth (n x) (v) `(setcar (nthcdr ,n ,x) ,v))
d1b8746d 597
03fef3e6 598\(fn NAME [FUNC | ARGLIST (STORE) BODY...])" nil t)
d1b8746d 599
093c0257 600(autoload 'cl-get-setf-method "cl-macs" "\
d1b8746d
SM
601Return a list of five values describing the setf-method for PLACE.
602PLACE may be any Lisp form which can appear as the PLACE argument to
093c0257 603a macro like `cl-setf' or `cl-incf'.
d1b8746d
SM
604
605\(fn PLACE &optional ENV)" nil nil)
606
093c0257 607(autoload 'cl-setf "cl-macs" "\
d1b8746d
SM
608Set each PLACE to the value of its VAL.
609This is a generalized version of `setq'; the PLACEs may be symbolic
610references such as (car x) or (aref x i), as well as plain symbols.
093c0257 611For example, (cl-setf (cl-cadar x) y) is equivalent to (setcar (cdar x) y).
d1b8746d
SM
612The return value is the last VAL in the list.
613
03fef3e6 614\(fn PLACE VAL PLACE VAL ...)" nil t)
d1b8746d 615
093c0257 616(autoload 'cl-psetf "cl-macs" "\
d1b8746d 617Set PLACEs to the values VALs in parallel.
093c0257 618This is like `cl-setf', except that all VAL forms are evaluated (in order)
d1b8746d
SM
619before assigning any PLACEs to the corresponding values.
620
03fef3e6 621\(fn PLACE VAL PLACE VAL ...)" nil t)
d1b8746d 622
5e4599b8 623(autoload 'cl-do-pop "cl-macs" "\
0d6459df 624
d1b8746d
SM
625
626\(fn PLACE)" nil nil)
627
093c0257 628(autoload 'cl-remf "cl-macs" "\
d1b8746d 629Remove TAG from property list PLACE.
093c0257 630PLACE may be a symbol, or any generalized variable allowed by `cl-setf'.
d1b8746d
SM
631The form returns true if TAG was found and removed, nil otherwise.
632
03fef3e6 633\(fn PLACE TAG)" nil t)
d1b8746d 634
093c0257 635(autoload 'cl-shiftf "cl-macs" "\
d1b8746d 636Shift left among PLACEs.
093c0257
SM
637Example: (cl-shiftf A B C) sets A to B, B to C, and returns the old A.
638Each PLACE may be a symbol, or any generalized variable allowed by `cl-setf'.
d1b8746d 639
03fef3e6 640\(fn PLACE... VAL)" nil t)
d1b8746d 641
093c0257 642(autoload 'cl-rotatef "cl-macs" "\
d1b8746d 643Rotate left among PLACEs.
093c0257
SM
644Example: (cl-rotatef A B C) sets A to B, B to C, and C to A. It returns nil.
645Each PLACE may be a symbol, or any generalized variable allowed by `cl-setf'.
d1b8746d 646
03fef3e6 647\(fn PLACE...)" nil t)
d1b8746d 648
093c0257 649(autoload 'cl-letf "cl-macs" "\
d1b8746d
SM
650Temporarily bind to PLACEs.
651This is the analogue of `let', but with generalized variables (in the
093c0257 652sense of `cl-setf') for the PLACEs. Each PLACE is set to the corresponding
d1b8746d
SM
653VALUE, then the BODY forms are executed. On exit, either normally or
654because of a `throw' or error, the PLACEs are set back to their original
655values. Note that this macro is *not* available in Common Lisp.
656As a special case, if `(PLACE)' is used instead of `(PLACE VALUE)',
657the PLACE is not modified before executing BODY.
658
03fef3e6 659\(fn ((PLACE VALUE) ...) BODY...)" nil t)
d1b8746d 660
093c0257 661(put 'cl-letf 'lisp-indent-function '1)
b581bb5c 662
093c0257 663(autoload 'cl-letf* "cl-macs" "\
d1b8746d
SM
664Temporarily bind to PLACEs.
665This is the analogue of `let*', but with generalized variables (in the
093c0257 666sense of `cl-setf') for the PLACEs. Each PLACE is set to the corresponding
d1b8746d
SM
667VALUE, then the BODY forms are executed. On exit, either normally or
668because of a `throw' or error, the PLACEs are set back to their original
669values. Note that this macro is *not* available in Common Lisp.
670As a special case, if `(PLACE)' is used instead of `(PLACE VALUE)',
671the PLACE is not modified before executing BODY.
672
03fef3e6 673\(fn ((PLACE VALUE) ...) BODY...)" nil t)
d1b8746d 674
093c0257 675(put 'cl-letf* 'lisp-indent-function '1)
b581bb5c 676
093c0257 677(autoload 'cl-callf "cl-macs" "\
d1b8746d
SM
678Set PLACE to (FUNC PLACE ARGS...).
679FUNC should be an unquoted function name. PLACE may be a symbol,
093c0257 680or any generalized variable allowed by `cl-setf'.
d1b8746d 681
03fef3e6 682\(fn FUNC PLACE ARGS...)" nil t)
d1b8746d 683
093c0257 684(put 'cl-callf 'lisp-indent-function '2)
b581bb5c 685
093c0257 686(autoload 'cl-callf2 "cl-macs" "\
d1b8746d 687Set PLACE to (FUNC ARG1 PLACE ARGS...).
093c0257 688Like `cl-callf', but PLACE is the second argument of FUNC, not the first.
d1b8746d 689
03fef3e6 690\(fn FUNC ARG1 PLACE ARGS...)" nil t)
d1b8746d 691
093c0257 692(put 'cl-callf2 'lisp-indent-function '3)
b581bb5c 693
093c0257
SM
694(autoload 'cl-define-modify-macro "cl-macs" "\
695Define a `cl-setf'-like modify macro.
d1b8746d 696If NAME is called, it combines its PLACE argument with the other arguments
093c0257 697from ARGLIST using FUNC: (cl-define-modify-macro cl-incf (&optional (n 1)) +)
d1b8746d 698
03fef3e6 699\(fn NAME ARGLIST FUNC &optional DOC)" nil t)
d1b8746d 700
093c0257 701(autoload 'cl-defstruct "cl-macs" "\
d1b8746d 702Define a struct type.
c7dc1ac1
CY
703This macro defines a new data type called NAME that stores data
704in SLOTs. It defines a `make-NAME' constructor, a `copy-NAME'
705copier, a `NAME-p' predicate, and slot accessors named `NAME-SLOT'.
093c0257 706You can use the accessors to set the corresponding slots, via `cl-setf'.
d1b8746d 707
c7dc1ac1
CY
708NAME may instead take the form (NAME OPTIONS...), where each
709OPTION is either a single keyword or (KEYWORD VALUE).
710See Info node `(cl)Structures' for a list of valid keywords.
711
712Each SLOT may instead take the form (SLOT SLOT-OPTS...), where
713SLOT-OPTS are keyword-value pairs for that slot. Currently, only
714one keyword is supported, `:read-only'. If this has a non-nil
093c0257 715value, that slot cannot be set via `cl-setf'.
c7dc1ac1 716
03fef3e6 717\(fn NAME SLOTS...)" nil t)
d1b8746d 718
093c0257 719(put 'cl-defstruct 'doc-string-elt '2)
b581bb5c 720
5e4599b8 721(autoload 'cl-struct-setf-expander "cl-macs" "\
0d6459df 722
d1b8746d
SM
723
724\(fn X NAME ACCESSOR PRED-FORM POS)" nil nil)
725
093c0257 726(autoload 'cl-deftype "cl-macs" "\
c93d41ba 727Define NAME as a new data type.
093c0257 728The type name can then be used in `cl-typecase', `cl-check-type', etc.
c93d41ba 729
03fef3e6 730\(fn NAME ARGLIST &rest BODY)" nil t)
c93d41ba 731
093c0257 732(put 'cl-deftype 'doc-string-elt '3)
b581bb5c 733
093c0257 734(autoload 'cl-typep "cl-macs" "\
d1b8746d
SM
735Check that OBJECT is of type TYPE.
736TYPE is a Common Lisp-style type specifier.
737
738\(fn OBJECT TYPE)" nil nil)
739
093c0257 740(autoload 'cl-check-type "cl-macs" "\
d1b8746d
SM
741Verify that FORM is of type TYPE; signal an error if not.
742STRING is an optional description of the desired type.
743
03fef3e6 744\(fn FORM TYPE &optional STRING)" nil t)
d1b8746d 745
093c0257 746(autoload 'cl-assert "cl-macs" "\
d1b8746d
SM
747Verify that FORM returns non-nil; signal an error if not.
748Second arg SHOW-ARGS means to include arguments of FORM in message.
749Other args STRING and ARGS... are arguments to be passed to `error'.
750They are not evaluated unless the assertion fails. If STRING is
751omitted, a default message listing FORM itself is used.
752
03fef3e6 753\(fn FORM &optional SHOW-ARGS STRING &rest ARGS)" nil t)
d1b8746d 754
093c0257 755(autoload 'cl-define-compiler-macro "cl-macs" "\
d1b8746d
SM
756Define a compiler-only macro.
757This is like `defmacro', but macro expansion occurs only if the call to
758FUNC is compiled (i.e., not interpreted). Compiler macros should be used
759for optimizing the way calls to FUNC are compiled; the form returned by
760BODY should do the same thing as a call to the normal function called
761FUNC, though possibly more efficiently. Note that, like regular macros,
762compiler macros are expanded repeatedly until no further expansions are
763possible. Unlike regular macros, BODY can decide to \"punt\" and leave the
764original function call alone by declaring an initial `&whole foo' parameter
765and then returning foo.
766
03fef3e6 767\(fn FUNC ARGS &rest BODY)" nil t)
d1b8746d 768
093c0257 769(autoload 'cl-compiler-macroexpand "cl-macs" "\
0d6459df 770
d1b8746d
SM
771
772\(fn FORM)" nil nil)
773
093c0257 774(autoload 'cl-defsubst "cl-macs" "\
eb123b12
GM
775Define NAME as a function.
776Like `defun', except the function is automatically declared `inline',
777ARGLIST allows full Common Lisp conventions, and BODY is implicitly
093c0257 778surrounded by (cl-block NAME ...).
eb123b12 779
03fef3e6 780\(fn NAME ARGLIST [DOCSTRING] BODY...)" nil t)
eb123b12 781
71adb94b
SM
782(autoload 'cl--compiler-macro-adjoin "cl-macs" "\
783
784
785\(fn FORM A LIST &rest KEYS)" nil nil)
786
787(autoload 'cl--compiler-macro-list* "cl-macs" "\
788
789
790\(fn FORM ARG &rest OTHERS)" nil nil)
791
792(autoload 'cl--compiler-macro-cXXr "cl-macs" "\
793
794
795\(fn FORM X)" nil nil)
796
d1b8746d
SM
797;;;***
798\f
093c0257
SM
799;;;### (autoloads (cl-tree-equal cl-nsublis cl-sublis cl-nsubst-if-not
800;;;;;; cl-nsubst-if cl-nsubst cl-subst-if-not cl-subst-if cl-subsetp
801;;;;;; cl-nset-exclusive-or cl-set-exclusive-or cl-nset-difference
802;;;;;; cl-set-difference cl-nintersection cl-intersection cl-nunion
803;;;;;; cl-union cl-rassoc-if-not cl-rassoc-if cl-rassoc cl-assoc-if-not
804;;;;;; cl-assoc-if cl-assoc cl--adjoin cl-member-if-not cl-member-if
805;;;;;; cl-member cl-merge cl-stable-sort cl-sort cl-search cl-mismatch
806;;;;;; cl-count-if-not cl-count-if cl-count cl-position-if-not cl-position-if
807;;;;;; cl-position cl-find-if-not cl-find-if cl-find cl-nsubstitute-if-not
808;;;;;; cl-nsubstitute-if cl-nsubstitute cl-substitute-if-not cl-substitute-if
809;;;;;; cl-substitute cl-delete-duplicates cl-remove-duplicates cl-delete-if-not
810;;;;;; cl-delete-if cl-delete cl-remove-if-not cl-remove-if cl-remove
bb3faf5b 811;;;;;; cl-replace cl-fill cl-reduce) "cl-seq" "cl-seq.el" "b444601641dcbd14a23ca5182bc80ffa")
d1b8746d
SM
812;;; Generated autoloads from cl-seq.el
813
093c0257 814(autoload 'cl-reduce "cl-seq" "\
d1b8746d
SM
815Reduce two-argument FUNCTION across SEQ.
816
817Keywords supported: :start :end :from-end :initial-value :key
818
819\(fn FUNCTION SEQ [KEYWORD VALUE]...)" nil nil)
820
093c0257 821(autoload 'cl-fill "cl-seq" "\
d1b8746d
SM
822Fill the elements of SEQ with ITEM.
823
824Keywords supported: :start :end
825
826\(fn SEQ ITEM [KEYWORD VALUE]...)" nil nil)
827
093c0257 828(autoload 'cl-replace "cl-seq" "\
d1b8746d
SM
829Replace the elements of SEQ1 with the elements of SEQ2.
830SEQ1 is destructively modified, then returned.
831
832Keywords supported: :start1 :end1 :start2 :end2
833
834\(fn SEQ1 SEQ2 [KEYWORD VALUE]...)" nil nil)
835
093c0257 836(autoload 'cl-remove "cl-seq" "\
d1b8746d
SM
837Remove all occurrences of ITEM in SEQ.
838This is a non-destructive function; it makes a copy of SEQ if necessary
839to avoid corrupting the original SEQ.
840
841Keywords supported: :test :test-not :key :count :start :end :from-end
842
843\(fn ITEM SEQ [KEYWORD VALUE]...)" nil nil)
844
093c0257 845(autoload 'cl-remove-if "cl-seq" "\
d1b8746d
SM
846Remove all items satisfying PREDICATE in SEQ.
847This is a non-destructive function; it makes a copy of SEQ if necessary
848to avoid corrupting the original SEQ.
849
850Keywords supported: :key :count :start :end :from-end
851
852\(fn PREDICATE SEQ [KEYWORD VALUE]...)" nil nil)
853
093c0257 854(autoload 'cl-remove-if-not "cl-seq" "\
d1b8746d
SM
855Remove all items not satisfying PREDICATE in SEQ.
856This is a non-destructive function; it makes a copy of SEQ if necessary
857to avoid corrupting the original SEQ.
858
859Keywords supported: :key :count :start :end :from-end
860
861\(fn PREDICATE SEQ [KEYWORD VALUE]...)" nil nil)
862
093c0257 863(autoload 'cl-delete "cl-seq" "\
d1b8746d
SM
864Remove all occurrences of ITEM in SEQ.
865This is a destructive function; it reuses the storage of SEQ whenever possible.
866
867Keywords supported: :test :test-not :key :count :start :end :from-end
868
869\(fn ITEM SEQ [KEYWORD VALUE]...)" nil nil)
870
093c0257 871(autoload 'cl-delete-if "cl-seq" "\
d1b8746d
SM
872Remove all items satisfying PREDICATE in SEQ.
873This is a destructive function; it reuses the storage of SEQ whenever possible.
874
875Keywords supported: :key :count :start :end :from-end
876
877\(fn PREDICATE SEQ [KEYWORD VALUE]...)" nil nil)
878
093c0257 879(autoload 'cl-delete-if-not "cl-seq" "\
d1b8746d
SM
880Remove all items not satisfying PREDICATE in SEQ.
881This is a destructive function; it reuses the storage of SEQ whenever possible.
882
883Keywords supported: :key :count :start :end :from-end
884
885\(fn PREDICATE SEQ [KEYWORD VALUE]...)" nil nil)
886
093c0257 887(autoload 'cl-remove-duplicates "cl-seq" "\
d1b8746d
SM
888Return a copy of SEQ with all duplicate elements removed.
889
890Keywords supported: :test :test-not :key :start :end :from-end
891
892\(fn SEQ [KEYWORD VALUE]...)" nil nil)
893
093c0257 894(autoload 'cl-delete-duplicates "cl-seq" "\
d1b8746d
SM
895Remove all duplicate elements from SEQ (destructively).
896
897Keywords supported: :test :test-not :key :start :end :from-end
898
899\(fn SEQ [KEYWORD VALUE]...)" nil nil)
900
093c0257 901(autoload 'cl-substitute "cl-seq" "\
d1b8746d
SM
902Substitute NEW for OLD in SEQ.
903This is a non-destructive function; it makes a copy of SEQ if necessary
904to avoid corrupting the original SEQ.
905
906Keywords supported: :test :test-not :key :count :start :end :from-end
907
908\(fn NEW OLD SEQ [KEYWORD VALUE]...)" nil nil)
909
093c0257 910(autoload 'cl-substitute-if "cl-seq" "\
d1b8746d
SM
911Substitute NEW for all items satisfying PREDICATE in SEQ.
912This is a non-destructive function; it makes a copy of SEQ if necessary
913to avoid corrupting the original SEQ.
914
915Keywords supported: :key :count :start :end :from-end
916
917\(fn NEW PREDICATE SEQ [KEYWORD VALUE]...)" nil nil)
918
093c0257 919(autoload 'cl-substitute-if-not "cl-seq" "\
d1b8746d
SM
920Substitute NEW for all items not satisfying PREDICATE in SEQ.
921This is a non-destructive function; it makes a copy of SEQ if necessary
922to avoid corrupting the original SEQ.
923
924Keywords supported: :key :count :start :end :from-end
925
926\(fn NEW PREDICATE SEQ [KEYWORD VALUE]...)" nil nil)
927
093c0257 928(autoload 'cl-nsubstitute "cl-seq" "\
d1b8746d
SM
929Substitute NEW for OLD in SEQ.
930This is a destructive function; it reuses the storage of SEQ whenever possible.
931
932Keywords supported: :test :test-not :key :count :start :end :from-end
933
934\(fn NEW OLD SEQ [KEYWORD VALUE]...)" nil nil)
935
093c0257 936(autoload 'cl-nsubstitute-if "cl-seq" "\
d1b8746d
SM
937Substitute NEW for all items satisfying PREDICATE in SEQ.
938This is a destructive function; it reuses the storage of SEQ whenever possible.
939
940Keywords supported: :key :count :start :end :from-end
941
942\(fn NEW PREDICATE SEQ [KEYWORD VALUE]...)" nil nil)
943
093c0257 944(autoload 'cl-nsubstitute-if-not "cl-seq" "\
d1b8746d
SM
945Substitute NEW for all items not satisfying PREDICATE in SEQ.
946This is a destructive function; it reuses the storage of SEQ whenever possible.
947
948Keywords supported: :key :count :start :end :from-end
949
950\(fn NEW PREDICATE SEQ [KEYWORD VALUE]...)" nil nil)
951
093c0257 952(autoload 'cl-find "cl-seq" "\
d1b8746d
SM
953Find the first occurrence of ITEM in SEQ.
954Return the matching ITEM, or nil if not found.
955
956Keywords supported: :test :test-not :key :start :end :from-end
957
958\(fn ITEM SEQ [KEYWORD VALUE]...)" nil nil)
959
093c0257 960(autoload 'cl-find-if "cl-seq" "\
d1b8746d
SM
961Find the first item satisfying PREDICATE in SEQ.
962Return the matching item, or nil if not found.
963
964Keywords supported: :key :start :end :from-end
965
966\(fn PREDICATE SEQ [KEYWORD VALUE]...)" nil nil)
967
093c0257 968(autoload 'cl-find-if-not "cl-seq" "\
d1b8746d
SM
969Find the first item not satisfying PREDICATE in SEQ.
970Return the matching item, or nil if not found.
971
972Keywords supported: :key :start :end :from-end
973
974\(fn PREDICATE SEQ [KEYWORD VALUE]...)" nil nil)
975
093c0257 976(autoload 'cl-position "cl-seq" "\
d1b8746d
SM
977Find the first occurrence of ITEM in SEQ.
978Return the index of the matching item, or nil if not found.
979
980Keywords supported: :test :test-not :key :start :end :from-end
981
982\(fn ITEM SEQ [KEYWORD VALUE]...)" nil nil)
983
093c0257 984(autoload 'cl-position-if "cl-seq" "\
d1b8746d
SM
985Find the first item satisfying PREDICATE in SEQ.
986Return the index of the matching item, or nil if not found.
987
988Keywords supported: :key :start :end :from-end
989
990\(fn PREDICATE SEQ [KEYWORD VALUE]...)" nil nil)
991
093c0257 992(autoload 'cl-position-if-not "cl-seq" "\
d1b8746d
SM
993Find the first item not satisfying PREDICATE in SEQ.
994Return the index of the matching item, or nil if not found.
995
996Keywords supported: :key :start :end :from-end
997
998\(fn PREDICATE SEQ [KEYWORD VALUE]...)" nil nil)
999
093c0257 1000(autoload 'cl-count "cl-seq" "\
d1b8746d
SM
1001Count the number of occurrences of ITEM in SEQ.
1002
1003Keywords supported: :test :test-not :key :start :end
1004
1005\(fn ITEM SEQ [KEYWORD VALUE]...)" nil nil)
1006
093c0257 1007(autoload 'cl-count-if "cl-seq" "\
d1b8746d
SM
1008Count the number of items satisfying PREDICATE in SEQ.
1009
1010Keywords supported: :key :start :end
1011
1012\(fn PREDICATE SEQ [KEYWORD VALUE]...)" nil nil)
1013
093c0257 1014(autoload 'cl-count-if-not "cl-seq" "\
d1b8746d
SM
1015Count the number of items not satisfying PREDICATE in SEQ.
1016
1017Keywords supported: :key :start :end
1018
1019\(fn PREDICATE SEQ [KEYWORD VALUE]...)" nil nil)
1020
093c0257 1021(autoload 'cl-mismatch "cl-seq" "\
d1b8746d
SM
1022Compare SEQ1 with SEQ2, return index of first mismatching element.
1023Return nil if the sequences match. If one sequence is a prefix of the
1024other, the return value indicates the end of the shorter sequence.
1025
1026Keywords supported: :test :test-not :key :start1 :end1 :start2 :end2 :from-end
1027
1028\(fn SEQ1 SEQ2 [KEYWORD VALUE]...)" nil nil)
1029
093c0257 1030(autoload 'cl-search "cl-seq" "\
d1b8746d
SM
1031Search for SEQ1 as a subsequence of SEQ2.
1032Return the index of the leftmost element of the first match found;
1033return nil if there are no matches.
1034
1035Keywords supported: :test :test-not :key :start1 :end1 :start2 :end2 :from-end
1036
1037\(fn SEQ1 SEQ2 [KEYWORD VALUE]...)" nil nil)
1038
093c0257 1039(autoload 'cl-sort "cl-seq" "\
d1b8746d
SM
1040Sort the argument SEQ according to PREDICATE.
1041This is a destructive function; it reuses the storage of SEQ if possible.
1042
1043Keywords supported: :key
1044
1045\(fn SEQ PREDICATE [KEYWORD VALUE]...)" nil nil)
1046
093c0257 1047(autoload 'cl-stable-sort "cl-seq" "\
d1b8746d
SM
1048Sort the argument SEQ stably according to PREDICATE.
1049This is a destructive function; it reuses the storage of SEQ if possible.
1050
1051Keywords supported: :key
1052
1053\(fn SEQ PREDICATE [KEYWORD VALUE]...)" nil nil)
1054
093c0257 1055(autoload 'cl-merge "cl-seq" "\
d1b8746d
SM
1056Destructively merge the two sequences to produce a new sequence.
1057TYPE is the sequence type to return, SEQ1 and SEQ2 are the two argument
1058sequences, and PREDICATE is a `less-than' predicate on the elements.
1059
1060Keywords supported: :key
1061
1062\(fn TYPE SEQ1 SEQ2 PREDICATE [KEYWORD VALUE]...)" nil nil)
1063
093c0257 1064(autoload 'cl-member "cl-seq" "\
d1b8746d
SM
1065Find the first occurrence of ITEM in LIST.
1066Return the sublist of LIST whose car is ITEM.
1067
1068Keywords supported: :test :test-not :key
1069
1070\(fn ITEM LIST [KEYWORD VALUE]...)" nil nil)
1071
d9857e53
SM
1072(put 'cl-member 'compiler-macro #'cl--compiler-macro-member)
1073
093c0257 1074(autoload 'cl-member-if "cl-seq" "\
d1b8746d
SM
1075Find the first item satisfying PREDICATE in LIST.
1076Return the sublist of LIST whose car matches.
1077
1078Keywords supported: :key
1079
1080\(fn PREDICATE LIST [KEYWORD VALUE]...)" nil nil)
1081
093c0257 1082(autoload 'cl-member-if-not "cl-seq" "\
d1b8746d
SM
1083Find the first item not satisfying PREDICATE in LIST.
1084Return the sublist of LIST whose car matches.
1085
1086Keywords supported: :key
1087
1088\(fn PREDICATE LIST [KEYWORD VALUE]...)" nil nil)
1089
4735906a 1090(autoload 'cl--adjoin "cl-seq" "\
cf3304e1 1091
d1b8746d
SM
1092
1093\(fn CL-ITEM CL-LIST &rest CL-KEYS)" nil nil)
1094
093c0257 1095(autoload 'cl-assoc "cl-seq" "\
d1b8746d
SM
1096Find the first item whose car matches ITEM in LIST.
1097
1098Keywords supported: :test :test-not :key
1099
1100\(fn ITEM LIST [KEYWORD VALUE]...)" nil nil)
1101
d9857e53
SM
1102(put 'cl-assoc 'compiler-macro #'cl--compiler-macro-assoc)
1103
093c0257 1104(autoload 'cl-assoc-if "cl-seq" "\
d1b8746d
SM
1105Find the first item whose car satisfies PREDICATE in LIST.
1106
1107Keywords supported: :key
1108
1109\(fn PREDICATE LIST [KEYWORD VALUE]...)" nil nil)
1110
093c0257 1111(autoload 'cl-assoc-if-not "cl-seq" "\
d1b8746d
SM
1112Find the first item whose car does not satisfy PREDICATE in LIST.
1113
1114Keywords supported: :key
1115
1116\(fn PREDICATE LIST [KEYWORD VALUE]...)" nil nil)
1117
093c0257 1118(autoload 'cl-rassoc "cl-seq" "\
d1b8746d
SM
1119Find the first item whose cdr matches ITEM in LIST.
1120
1121Keywords supported: :test :test-not :key
1122
1123\(fn ITEM LIST [KEYWORD VALUE]...)" nil nil)
1124
093c0257 1125(autoload 'cl-rassoc-if "cl-seq" "\
d1b8746d
SM
1126Find the first item whose cdr satisfies PREDICATE in LIST.
1127
1128Keywords supported: :key
1129
1130\(fn PREDICATE LIST [KEYWORD VALUE]...)" nil nil)
1131
093c0257 1132(autoload 'cl-rassoc-if-not "cl-seq" "\
d1b8746d
SM
1133Find the first item whose cdr does not satisfy PREDICATE in LIST.
1134
1135Keywords supported: :key
1136
1137\(fn PREDICATE LIST [KEYWORD VALUE]...)" nil nil)
1138
093c0257 1139(autoload 'cl-union "cl-seq" "\
d1b8746d 1140Combine LIST1 and LIST2 using a set-union operation.
16b737dc 1141The resulting list contains all items that appear in either LIST1 or LIST2.
d1b8746d
SM
1142This is a non-destructive function; it makes a copy of the data if necessary
1143to avoid corrupting the original LIST1 and LIST2.
1144
1145Keywords supported: :test :test-not :key
1146
1147\(fn LIST1 LIST2 [KEYWORD VALUE]...)" nil nil)
1148
093c0257 1149(autoload 'cl-nunion "cl-seq" "\
d1b8746d 1150Combine LIST1 and LIST2 using a set-union operation.
16b737dc 1151The resulting list contains all items that appear in either LIST1 or LIST2.
d1b8746d
SM
1152This is a destructive function; it reuses the storage of LIST1 and LIST2
1153whenever possible.
1154
1155Keywords supported: :test :test-not :key
1156
1157\(fn LIST1 LIST2 [KEYWORD VALUE]...)" nil nil)
1158
093c0257 1159(autoload 'cl-intersection "cl-seq" "\
d1b8746d 1160Combine LIST1 and LIST2 using a set-intersection operation.
16b737dc 1161The resulting list contains all items that appear in both LIST1 and LIST2.
d1b8746d
SM
1162This is a non-destructive function; it makes a copy of the data if necessary
1163to avoid corrupting the original LIST1 and LIST2.
1164
1165Keywords supported: :test :test-not :key
1166
1167\(fn LIST1 LIST2 [KEYWORD VALUE]...)" nil nil)
1168
093c0257 1169(autoload 'cl-nintersection "cl-seq" "\
d1b8746d 1170Combine LIST1 and LIST2 using a set-intersection operation.
16b737dc 1171The resulting list contains all items that appear in both LIST1 and LIST2.
d1b8746d
SM
1172This is a destructive function; it reuses the storage of LIST1 and LIST2
1173whenever possible.
1174
1175Keywords supported: :test :test-not :key
1176
1177\(fn LIST1 LIST2 [KEYWORD VALUE]...)" nil nil)
1178
093c0257 1179(autoload 'cl-set-difference "cl-seq" "\
d1b8746d 1180Combine LIST1 and LIST2 using a set-difference operation.
16b737dc 1181The resulting list contains all items that appear in LIST1 but not LIST2.
d1b8746d
SM
1182This is a non-destructive function; it makes a copy of the data if necessary
1183to avoid corrupting the original LIST1 and LIST2.
1184
1185Keywords supported: :test :test-not :key
1186
1187\(fn LIST1 LIST2 [KEYWORD VALUE]...)" nil nil)
1188
093c0257 1189(autoload 'cl-nset-difference "cl-seq" "\
d1b8746d 1190Combine LIST1 and LIST2 using a set-difference operation.
16b737dc 1191The resulting list contains all items that appear in LIST1 but not LIST2.
d1b8746d
SM
1192This is a destructive function; it reuses the storage of LIST1 and LIST2
1193whenever possible.
1194
1195Keywords supported: :test :test-not :key
1196
1197\(fn LIST1 LIST2 [KEYWORD VALUE]...)" nil nil)
1198
093c0257 1199(autoload 'cl-set-exclusive-or "cl-seq" "\
d1b8746d 1200Combine LIST1 and LIST2 using a set-exclusive-or operation.
16b737dc 1201The resulting list contains all items appearing in exactly one of LIST1, LIST2.
d1b8746d
SM
1202This is a non-destructive function; it makes a copy of the data if necessary
1203to avoid corrupting the original LIST1 and LIST2.
1204
1205Keywords supported: :test :test-not :key
1206
1207\(fn LIST1 LIST2 [KEYWORD VALUE]...)" nil nil)
1208
093c0257 1209(autoload 'cl-nset-exclusive-or "cl-seq" "\
d1b8746d 1210Combine LIST1 and LIST2 using a set-exclusive-or operation.
16b737dc 1211The resulting list contains all items appearing in exactly one of LIST1, LIST2.
d1b8746d
SM
1212This is a destructive function; it reuses the storage of LIST1 and LIST2
1213whenever possible.
1214
1215Keywords supported: :test :test-not :key
1216
1217\(fn LIST1 LIST2 [KEYWORD VALUE]...)" nil nil)
1218
093c0257 1219(autoload 'cl-subsetp "cl-seq" "\
d1b8746d
SM
1220Return true if LIST1 is a subset of LIST2.
1221I.e., if every element of LIST1 also appears in LIST2.
1222
1223Keywords supported: :test :test-not :key
1224
1225\(fn LIST1 LIST2 [KEYWORD VALUE]...)" nil nil)
1226
093c0257 1227(autoload 'cl-subst-if "cl-seq" "\
d1b8746d
SM
1228Substitute NEW for elements matching PREDICATE in TREE (non-destructively).
1229Return a copy of TREE with all matching elements replaced by NEW.
1230
1231Keywords supported: :key
1232
1233\(fn NEW PREDICATE TREE [KEYWORD VALUE]...)" nil nil)
1234
093c0257 1235(autoload 'cl-subst-if-not "cl-seq" "\
d1b8746d
SM
1236Substitute NEW for elts not matching PREDICATE in TREE (non-destructively).
1237Return a copy of TREE with all non-matching elements replaced by NEW.
1238
1239Keywords supported: :key
1240
1241\(fn NEW PREDICATE TREE [KEYWORD VALUE]...)" nil nil)
1242
093c0257 1243(autoload 'cl-nsubst "cl-seq" "\
d1b8746d
SM
1244Substitute NEW for OLD everywhere in TREE (destructively).
1245Any element of TREE which is `eql' to OLD is changed to NEW (via a call
1246to `setcar').
1247
1248Keywords supported: :test :test-not :key
1249
1250\(fn NEW OLD TREE [KEYWORD VALUE]...)" nil nil)
1251
093c0257 1252(autoload 'cl-nsubst-if "cl-seq" "\
d1b8746d
SM
1253Substitute NEW for elements matching PREDICATE in TREE (destructively).
1254Any element of TREE which matches is changed to NEW (via a call to `setcar').
1255
1256Keywords supported: :key
1257
1258\(fn NEW PREDICATE TREE [KEYWORD VALUE]...)" nil nil)
1259
093c0257 1260(autoload 'cl-nsubst-if-not "cl-seq" "\
d1b8746d
SM
1261Substitute NEW for elements not matching PREDICATE in TREE (destructively).
1262Any element of TREE which matches is changed to NEW (via a call to `setcar').
1263
1264Keywords supported: :key
1265
1266\(fn NEW PREDICATE TREE [KEYWORD VALUE]...)" nil nil)
1267
093c0257 1268(autoload 'cl-sublis "cl-seq" "\
d1b8746d
SM
1269Perform substitutions indicated by ALIST in TREE (non-destructively).
1270Return a copy of TREE with all matching elements replaced.
1271
1272Keywords supported: :test :test-not :key
1273
1274\(fn ALIST TREE [KEYWORD VALUE]...)" nil nil)
1275
093c0257 1276(autoload 'cl-nsublis "cl-seq" "\
d1b8746d
SM
1277Perform substitutions indicated by ALIST in TREE (destructively).
1278Any matching element of TREE is changed via a call to `setcar'.
1279
1280Keywords supported: :test :test-not :key
1281
1282\(fn ALIST TREE [KEYWORD VALUE]...)" nil nil)
1283
093c0257 1284(autoload 'cl-tree-equal "cl-seq" "\
d1b8746d
SM
1285Return t if trees TREE1 and TREE2 have `eql' leaves.
1286Atoms are compared by `eql'; cons cells are compared recursively.
1287
1288Keywords supported: :test :test-not :key
1289
1290\(fn TREE1 TREE2 [KEYWORD VALUE]...)" nil nil)
1291
1292;;;***
1293\f
1294;; Local Variables:
1295;; version-control: never
1296;; no-byte-compile: t
1297;; no-update-autoloads: t
e97a42c1 1298;; coding: utf-8
d1b8746d 1299;; End:
d1b8746d 1300;;; cl-loaddefs.el ends here