emacs-devel
[Top][All Lists]
Advanced

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

Re: `after-change-functions' and undo


From: Paul Pogonyshev
Subject: Re: `after-change-functions' and undo
Date: Sun, 28 Nov 2004 16:51:27 +0200
User-agent: KMail/1.4.3

David Kastrup wrote:
> Paul Pogonyshev <address@hidden> writes:
> > I'm having a problem with `after-change-functions' and undo
> > interference.
> >
> > So, the question is: can I prevent my `after-change' hook
> > from running while undo is in effect?  I couldn't figure out
> > from the manual.
>
> undo-in-progress's value is nil
>
> Non-nil while performing an undo.
> Some change-hooks test this variable to do something different.
>
> Defined in `simple'.

That's exactly what I was looking for, thank you.

Maybe it should be added to the Elisp manual?  I can do this,
but I'm not sure where to add the description.

Paul





reply via email to

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