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