Skip to main content
2 of 2
edited tags
Tobias
  • 33.7k
  • 1
  • 38
  • 78

Why adding the display property does not work on some part of a file, while it works on other parts?

Let's say I have an org file with this content (this is the Org Manual):

    *** System-wide header arguments
    #+vindex: org-babel-default-header-args

The file is opened normally, highlighted and everything.

Now, as a test I try to add a display property to the S character of System:

    (put-text-property (point) (1+ (point)) 'display "aaa")

It works. The S is replaced with aaa.

But if I try the same on a character on the vindex line then nothing happens.

Why is that?

Tom
  • 1.3k
  • 8
  • 17