Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
所以我复制了一些东西到戒指上:
(car kill-ring) ; #("foo" 0 4 (fontified t))
那么如何获取这个文本属性的主要内容,即字符串"foo"呢?
"foo"
您可以使用以下命令从文本字符串中删除所有属性substring-no-properties:
substring-no-properties
(substring-no-properties (car kill-ring))