[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU Emacs 24 Performance Issues in 'add-text-properties
From: |
Stefan Monnier |
Subject: |
Re: GNU Emacs 24 Performance Issues in 'add-text-properties |
Date: |
Wed, 03 Sep 2014 22:45:28 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
> (add-text-properties (- startc 2) (- endc 0) '(face
> '(:foreground "gray")))
This call, like any other call that changes text-properties is
considered as a buffer modification. So the modification hooks are run,
which can include font-lock stuff (which will end up overwriting your
`face' property, by the way) and other fun, which could end up
being costly.
Stefan