From: Philipp Stephani Date: Sun, 28 Jan 2018 18:25:48 +0000 (+0100) Subject: * src/lisp.h: Tell developers to add new types to cl--typeof-types. X-Git-Tag: emacs-27.0.90~5788 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=70831c8f64bb158791808e06bb8a07072d940eb1;p=emacs.git * src/lisp.h: Tell developers to add new types to cl--typeof-types. --- 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