From 70831c8f64bb158791808e06bb8a07072d940eb1 Mon Sep 17 00:00:00 2001 From: Philipp Stephani Date: Sun, 28 Jan 2018 19:25:48 +0100 Subject: [PATCH] * src/lisp.h: Tell developers to add new types to cl--typeof-types. --- src/lisp.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.2