SiteMap Search ElispArea HowTo Glossary RecentChanges News Problems Suggestions
Yemen, National Day

InvisibleText

Using Text Properties

This code will insert “foobarbaz” but “bar” will be invisible.

 (let ((a "foobarbaz"))
   (put-text-property 3 6 'invisible t a)
   (insert a))

See also: TextProperties.

FIXME: Add examples for overlays, extents, etc.