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: David Kastrup
Subject: Re: `after-change-functions' and undo
Date: Sun, 28 Nov 2004 12:48:15 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

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'.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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