diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2018-06-07 19:12:28 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-06-14 17:13:39 -0700 |
commit | f8ad6b311bf142defe4c203b64713c5a5051c4a7 (patch) | |
tree | c71ed1a58720561a817173daa44ad21575cc2cce /lisp/cus-edit.el | |
parent | d98670eb04925fdc4a4928a9b0d0858881da418f (diff) | |
download | emacs-f8ad6b311bf142defe4c203b64713c5a5051c4a7.tar.gz emacs-f8ad6b311bf142defe4c203b64713c5a5051c4a7.tar.bz2 emacs-f8ad6b311bf142defe4c203b64713c5a5051c4a7.zip |
New type Lisp_Misc_Ptr
This is a streamlined version of Lisp_Save_Value, which contains just
a pointer, as that is all Lisp_Save_Values are used for any more.
With the previous changes, these objects are not primarily used as
save values, so just call them "Misc" rather than "Save".
* src/alloc.c (make_misc_ptr): New function.
(mark_object): Mark Lisp_Misc_Ptr too.
* src/lisp.h (Lisp_Misc_Ptr): New constant.
(struct Lisp_Misc_Ptr): New type.
(make_mint_ptr, mint_ptrp, xmint_pointer):
Use Lisp_Misc_Ptr, not Lisp_Save_Value.
(union Lisp_Misc): Add Lisp_Misc_Ptr.
* src/print.c (print_object): Print Lisp_Misc_Ptr.
Diffstat (limited to 'lisp/cus-edit.el')
0 files changed, 0 insertions, 0 deletions