2.4.18 类型描述符

type descriptor类型描述符 是一种用于存放类型相关信息的记录。该记录的第一个槽位必须是表示该类型名称的符号,type-of 正是依靠这一点来返回 record 对象的类型。Emacs 本身不会使用类型描述符的其他槽位,这些槽位可自由用于 Lisp 扩展。

cl-structure-class 的任意实例都是类型描述符的一个例子。

emacs

Emacs

org-mode

Orgmode

Donations

打赏

Copyright

© 2025 Jasper Hsu

Creative Commons

Creative Commons

Attribute

Attribute

Noncommercial

Noncommercial

Share Alike

Share Alike