summaryrefslogtreecommitdiff
path: root/doc/lispref/elisp.texi
diff options
context:
space:
mode:
authorDaniel Colascione <dancol@dancol.org>2015-03-02 19:08:06 -0800
committerDaniel Colascione <dancol@dancol.org>2015-03-02 19:08:06 -0800
commit2cc23f170f920cbfc9df4c28bce6ca9d82c4e6cd (patch)
treeba2ba78402bf75eed26d3f20abeac5c02eb74694 /doc/lispref/elisp.texi
parent8af3e1848cbdc570b6c173480c2988a552f3f74d (diff)
downloademacs-2cc23f170f920cbfc9df4c28bce6ca9d82c4e6cd.tar.gz
Finalizer documentation, minor improvements
* doc/lispref/objects.texi (Finalizer Type): New section (Type Predicates): Mention finalizers in `type-of' documentation. * doc/lispref/elisp.texi (Top): Link to finalizer type. * src/data.c (Ftype_of): Make `type-of' work with finalizers. (syms_of_data): Register Qfinalizer. * src/print.c (print_object): Print whether a finalizer has been called. * test/automated/finalizer-tests.el (finalizer-object-type): Test that `type-of' works correctly for finalizers.
Diffstat (limited to 'doc/lispref/elisp.texi')
-rw-r--r--doc/lispref/elisp.texi1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/lispref/elisp.texi b/doc/lispref/elisp.texi
index 3802e49ec3d..fc552be161b 100644
--- a/doc/lispref/elisp.texi
+++ b/doc/lispref/elisp.texi
@@ -316,6 +316,7 @@ Programming Types
* Byte-Code Type:: A function written in Lisp, then compiled.
* Autoload Type:: A type used for automatically loading seldom-used
functions.
+* Finalizer Type:: Runs code when no longer reachable.
Character Type