diff options
| author | Philipp Stephani | 2018-01-28 19:25:48 +0100 |
|---|---|---|
| committer | Philipp Stephani | 2018-01-28 19:25:48 +0100 |
| commit | 70831c8f64bb158791808e06bb8a07072d940eb1 (patch) | |
| tree | 825d6889177f9910d0b823a0247e0d3ec2ee1964 | |
| parent | 9a747b3554515135d5acadfcb5c2b1b8240d8f84 (diff) | |
| download | emacs-70831c8f64bb158791808e06bb8a07072d940eb1.tar.gz emacs-70831c8f64bb158791808e06bb8a07072d940eb1.zip | |
* src/lisp.h: Tell developers to add new types to cl--typeof-types.
| -rw-r--r-- | src/lisp.h | 5 |
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 | |||
| 583 | resources allocated for it that are not Lisp objects. You can even | 583 | resources allocated for it that are not Lisp objects. You can even |
| 584 | make a pointer to the function that frees the resources a slot in | 584 | make a pointer to the function that frees the resources a slot in |
| 585 | your object -- this way, the same object could be used to represent | 585 | your object -- this way, the same object could be used to represent |
| 586 | several disparate C structures. */ | 586 | several disparate C structures. |
| 587 | |||
| 588 | You also need to add the new type to the constant | ||
| 589 | `cl--typeof-types' in lisp/emacs-lisp/cl-preloaded.el. */ | ||
| 587 | 590 | ||
| 588 | 591 | ||
| 589 | /* A Lisp_Object is a tagged pointer or integer. Ordinarily it is a | 592 | /* A Lisp_Object is a tagged pointer or integer. Ordinarily it is a |