[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: An unexpected delay when making text invisible
From: |
Stefan Monnier |
Subject: |
Re: An unexpected delay when making text invisible |
Date: |
Mon, 01 Feb 2021 10:23:11 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> I've been experimenting with the `invisible' text property, and
> I noticed that after running `add-to-invisibility-spec' the text I want
> to make invisible can still be seen - at least until I e.g. change
> buffers.
When display is affected by the content of a *variable*, it's often
necessary to tell Emacs that the display is out-of-date by calling
`force-mode-line-update`.
If such a call solves your problem, please file a bug report (so
`add-to-invisibility-spec` calls it and you don't have to).
Stefan