[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 70831c8: * src/lisp.h: Tell developers to add new t
From: |
Philipp Stephani |
Subject: |
[Emacs-diffs] master 70831c8: * src/lisp.h: Tell developers to add new types to cl--typeof-types. |
Date: |
Sun, 28 Jan 2018 13:27:14 -0500 (EST) |
branch: master
commit 70831c8f64bb158791808e06bb8a07072d940eb1
Author: Philipp Stephani <address@hidden>
Commit: Philipp Stephani <address@hidden>
* 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 616aea0..d547c0c 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 70831c8: * src/lisp.h: Tell developers to add new types to cl--typeof-types.,
Philipp Stephani <=