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"
?
You can remove all properties from a text string with substring-no-properties
:
(substring-no-properties (car kill-ring))
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With