The function remove-text-properties
requires a list for the third argument props
-- e.g., (remove-text-properties start end '(face nil))
How can I remove all text properties in a buffer in one fell swoop, without necessarily knowing what all of those properties are?
remove-text-properties
. You should be asking Emacs... – Drew May 20 '15 at 1:08inhibit-read-only
in conjunction withset-text-properties
. – lawlist May 20 '15 at 2:57