[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] emacs-25 f785ff4: Clarify documentation of before/afte
From: |
Eli Zaretskii |
Subject: |
Re: [Emacs-diffs] emacs-25 f785ff4: Clarify documentation of before/after-change-functions |
Date: |
Tue, 09 Aug 2016 21:18:17 +0300 |
> From: Stefan Monnier <address@hidden>
> Cc: Eli Zaretskii <address@hidden>
> Date: Tue, 09 Aug 2016 13:59:25 -0400
>
> > -This variable holds a list of functions to call before any buffer
> > -modification. Each function gets two arguments, the beginning and end
> > +This variable holds a list of functions to call before most buffer
> > +modifications. Each function gets two arguments, the beginning and end
>
> This looks wrong. It should be called before *every* modification.
> syntax-ppss relies on this property, for example.
> And I can't think of any reason why we couldn't preserve that property.
>
> In which case is it not run?
In some cases when we delete text. And a few special cases you can
see in coding.c.