aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/subr.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/subr.el')
-rw-r--r--lisp/subr.el122
1 files changed, 122 insertions, 0 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 53774169b42..a204577ddf9 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -384,6 +384,126 @@ configuration."
384 (declare (compiler-macro internal--compiler-macro-cXXr)) 384 (declare (compiler-macro internal--compiler-macro-cXXr))
385 (cdr (cdr x))) 385 (cdr (cdr x)))
386 386
387(defun caaar (x)
388 "Return the `car' of the `car' of the `car' of X."
389 (declare (compiler-macro internal--compiler-macro-cXXr))
390 (car (car (car x))))
391
392(defun caadr (x)
393 "Return the `car' of the `car' of the `cdr' of X."
394 (declare (compiler-macro internal--compiler-macro-cXXr))
395 (car (car (cdr x))))
396
397(defun cadar (x)
398 "Return the `car' of the `cdr' of the `car' of X."
399 (declare (compiler-macro internal--compiler-macro-cXXr))
400 (car (cdr (car x))))
401
402(defun caddr (x)
403 "Return the `car' of the `cdr' of the `cdr' of X."
404 (declare (compiler-macro internal--compiler-macro-cXXr))
405 (car (cdr (cdr x))))
406
407(defun cdaar (x)
408 "Return the `cdr' of the `car' of the `car' of X."
409 (declare (compiler-macro internal--compiler-macro-cXXr))
410 (cdr (car (car x))))
411
412(defun cdadr (x)
413 "Return the `cdr' of the `car' of the `cdr' of X."
414 (declare (compiler-macro internal--compiler-macro-cXXr))
415 (cdr (car (cdr x))))
416
417(defun cddar (x)
418 "Return the `cdr' of the `cdr' of the `car' of X."
419 (declare (compiler-macro internal--compiler-macro-cXXr))
420 (cdr (cdr (car x))))
421
422(defun cdddr (x)
423 "Return the `cdr' of the `cdr' of the `cdr' of X."
424 (declare (compiler-macro internal--compiler-macro-cXXr))
425 (cdr (cdr (cdr x))))
426
427(defun caaaar (x)
428 "Return the `car' of the `car' of the `car' of the `car' of X."
429 (declare (compiler-macro internal--compiler-macro-cXXr))
430 (car (car (car (car x)))))
431
432(defun caaadr (x)
433 "Return the `car' of the `car' of the `car' of the `cdr' of X."
434 (declare (compiler-macro internal--compiler-macro-cXXr))
435 (car (car (car (cdr x)))))
436
437(defun caadar (x)
438 "Return the `car' of the `car' of the `cdr' of the `car' of X."
439 (declare (compiler-macro internal--compiler-macro-cXXr))
440 (car (car (cdr (car x)))))
441
442(defun caaddr (x)
443 "Return the `car' of the `car' of the `cdr' of the `cdr' of X."
444 (declare (compiler-macro internal--compiler-macro-cXXr))
445 (car (car (cdr (cdr x)))))
446
447(defun cadaar (x)
448 "Return the `car' of the `cdr' of the `car' of the `car' of X."
449 (declare (compiler-macro internal--compiler-macro-cXXr))
450 (car (cdr (car (car x)))))
451
452(defun cadadr (x)
453 "Return the `car' of the `cdr' of the `car' of the `cdr' of X."
454 (declare (compiler-macro internal--compiler-macro-cXXr))
455 (car (cdr (car (cdr x)))))
456
457(defun caddar (x)
458 "Return the `car' of the `cdr' of the `cdr' of the `car' of X."
459 (declare (compiler-macro internal--compiler-macro-cXXr))
460 (car (cdr (cdr (car x)))))
461
462(defun cadddr (x)
463 "Return the `car' of the `cdr' of the `cdr' of the `cdr' of X."
464 (declare (compiler-macro internal--compiler-macro-cXXr))
465 (car (cdr (cdr (cdr x)))))
466
467(defun cdaaar (x)
468 "Return the `cdr' of the `car' of the `car' of the `car' of X."
469 (declare (compiler-macro internal--compiler-macro-cXXr))
470 (cdr (car (car (car x)))))
471
472(defun cdaadr (x)
473 "Return the `cdr' of the `car' of the `car' of the `cdr' of X."
474 (declare (compiler-macro internal--compiler-macro-cXXr))
475 (cdr (car (car (cdr x)))))
476
477(defun cdadar (x)
478 "Return the `cdr' of the `car' of the `cdr' of the `car' of X."
479 (declare (compiler-macro internal--compiler-macro-cXXr))
480 (cdr (car (cdr (car x)))))
481
482(defun cdaddr (x)
483 "Return the `cdr' of the `car' of the `cdr' of the `cdr' of X."
484 (declare (compiler-macro internal--compiler-macro-cXXr))
485 (cdr (car (cdr (cdr x)))))
486
487(defun cddaar (x)
488 "Return the `cdr' of the `cdr' of the `car' of the `car' of X."
489 (declare (compiler-macro internal--compiler-macro-cXXr))
490 (cdr (cdr (car (car x)))))
491
492(defun cddadr (x)
493 "Return the `cdr' of the `cdr' of the `car' of the `cdr' of X."
494 (declare (compiler-macro internal--compiler-macro-cXXr))
495 (cdr (cdr (car (cdr x)))))
496
497(defun cdddar (x)
498 "Return the `cdr' of the `cdr' of the `cdr' of the `car' of X."
499 (declare (compiler-macro internal--compiler-macro-cXXr))
500 (cdr (cdr (cdr (car x)))))
501
502(defun cddddr (x)
503 "Return the `cdr' of the `cdr' of the `cdr' of the `cdr' of X."
504 (declare (compiler-macro internal--compiler-macro-cXXr))
505 (cdr (cdr (cdr (cdr x)))))
506
387(defun last (list &optional n) 507(defun last (list &optional n)
388 "Return the last link of LIST. Its car is the last element. 508 "Return the last link of LIST. Its car is the last element.
389If LIST is nil, return nil. 509If LIST is nil, return nil.
@@ -1297,8 +1417,10 @@ be a list of the form returned by `event-start' and `event-end'."
1297;; bug#23850 1417;; bug#23850
1298(make-obsolete 'string-to-unibyte "use `encode-coding-string'." "26.1") 1418(make-obsolete 'string-to-unibyte "use `encode-coding-string'." "26.1")
1299(make-obsolete 'string-as-unibyte "use `encode-coding-string'." "26.1") 1419(make-obsolete 'string-as-unibyte "use `encode-coding-string'." "26.1")
1420(make-obsolete 'string-make-unibyte "use `encode-coding-string'." "26.1")
1300(make-obsolete 'string-to-multibyte "use `decode-coding-string'." "26.1") 1421(make-obsolete 'string-to-multibyte "use `decode-coding-string'." "26.1")
1301(make-obsolete 'string-as-multibyte "use `decode-coding-string'." "26.1") 1422(make-obsolete 'string-as-multibyte "use `decode-coding-string'." "26.1")
1423(make-obsolete 'string-make-multibyte "use `decode-coding-string'." "26.1")
1302 1424
1303(defun log10 (x) 1425(defun log10 (x)
1304 "Return (log X 10), the log base 10 of X." 1426 "Return (log X 10), the log base 10 of X."