summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Stephani <phst@google.com>2018-01-28 19:25:48 +0100
committerPhilipp Stephani <phst@google.com>2018-01-28 19:25:48 +0100
commit70831c8f64bb158791808e06bb8a07072d940eb1 (patch)
tree825d6889177f9910d0b823a0247e0d3ec2ee1964
parent9a747b3554515135d5acadfcb5c2b1b8240d8f84 (diff)
downloademacs-70831c8f64bb158791808e06bb8a07072d940eb1.tar.gz
* src/lisp.h: Tell developers to add new types to cl--typeof-types.
-rw-r--r--src/lisp.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lisp.h b/src/lisp.h
index 616aea07805..d547c0c4430 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -583,7 +583,10 @@ enum Lisp_Fwd_Type
resources allocated for it that are not Lisp objects. You can even
make a pointer to the function that frees the resources a slot in
your object -- this way, the same object could be used to represent
- several disparate C structures. */
+ several disparate C structures.
+
+ You also need to add the new type to the constant
+ `cl--typeof-types' in lisp/emacs-lisp/cl-preloaded.el. */
/* A Lisp_Object is a tagged pointer or integer. Ordinarily it is a