[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `make-overlay' very slow

From: Lennart Borgman
Subject: Re: `make-overlay' very slow
Date: Sat, 11 Apr 2009 09:46:39 +0200

On Sat, Apr 11, 2009 at 9:45 AM, Werner LEMBERG <address@hidden> wrote:
>>> I did that (see attachment for reference), and it really works at a
>>> reasonable speed.  However, it is the completely wrong concept
>>> since it sets the `modified' flag and stores undo information,
>> There is a macro in font-lock.el that you can use to modify text
>> properties without storing undo information or setting the modified
>> flag.
> Thanks, will update my code.  However, it isn't a general solution
> since my function should essentially work with all modes.

The macro does not depend on font-lock and you have to copy it to your code.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]