So I have copied something to the ring:
(car kill-ring) ; #("foo" 0 4 (fontified t))
Then how do I get the main content this text property, namely the string "foo"
?
您可以使用substring-no-properties
从文本字符串中删除所有substring-no-properties
:
(substring-no-properties (car kill-ring))
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.