[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Confusion about first-change-hook
From: |
Stefan Monnier |
Subject: |
Re: Confusion about first-change-hook |
Date: |
Tue, 18 Dec 2012 20:01:19 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> Oh. I didn't know that putting text properties on an unmodified buffer
> should be protected like that. I guess I will have to look at some of my
> own packages...
Many packages do part of what with-silent-modifications does, such as
save buffer-modified-p and restore it afterwards, but that is only
sufficient in some cases (as seen in your particular case).
`with-silent-modifications' takes care of several more potential
problems.
Stefan