aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/emacs-lisp/cl-preloaded.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/emacs-lisp/cl-preloaded.el')
-rw-r--r--lisp/emacs-lisp/cl-preloaded.el15
1 files changed, 13 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/cl-preloaded.el b/lisp/emacs-lisp/cl-preloaded.el
index 83d9e6ee220..fa745396b02 100644
--- a/lisp/emacs-lisp/cl-preloaded.el
+++ b/lisp/emacs-lisp/cl-preloaded.el
@@ -444,13 +444,24 @@ For this build of Emacs it's %dbit."
444 ) 444 )
445(cl--define-built-in-type compiled-function (function) 445(cl--define-built-in-type compiled-function (function)
446 "Abstract type of functions that have been compiled.") 446 "Abstract type of functions that have been compiled.")
447(cl--define-built-in-type byte-code-function (compiled-function) 447(cl--define-built-in-type closure (function)
448 "Abstract type of functions represented by a vector-like object.
449You can access the object's internals with `aref'.
450The fields are used as follows:
451
452 0 [args] Argument list (either a list or an integer)
453 1 [code] Either a byte-code string or a list of Lisp forms
454 2 [constants] Either vector of constants or a lexical environment
455 3 [stackdepth] Maximum amount of stack depth used by the byte-code
456 4 [docstring] The documentation, or a reference to it
457 5 [iform] The interactive form (if present)")
458(cl--define-built-in-type byte-code-function (compiled-function closure)
448 "Type of functions that have been byte-compiled.") 459 "Type of functions that have been byte-compiled.")
449(cl--define-built-in-type subr (atom) 460(cl--define-built-in-type subr (atom)
450 "Abstract type of functions compiled to machine code.") 461 "Abstract type of functions compiled to machine code.")
451(cl--define-built-in-type module-function (function) 462(cl--define-built-in-type module-function (function)
452 "Type of functions provided via the module API.") 463 "Type of functions provided via the module API.")
453(cl--define-built-in-type interpreted-function (function) 464(cl--define-built-in-type interpreted-function (closure)
454 "Type of functions that have not been compiled.") 465 "Type of functions that have not been compiled.")
455(cl--define-built-in-type special-form (subr) 466(cl--define-built-in-type special-form (subr)
456 "Type of the core syntactic elements of the Emacs Lisp language.") 467 "Type of the core syntactic elements of the Emacs Lisp language.")