Is there a straightforward way to make all text with a given face invisible? I don't believe I can make invisibility be intrinsic to the face, but can I perhaps specify a minor mode that makes sure all appropriate text is invisible?
By "invisible" here I mean the text works as if you'd set the invisible property, so the text in question doesn't even take up an horizontal space.
'default
:background.:invisible
. Instead of a plain face name, you can use a code block, which should return the name of the face to apply. This code block can contain side effects, like(set-property ...)
. Also, you will need to include:invisible
infont-lock-extra-managed-props
.