emacs-devel
[Top][All Lists]
Advanced

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

Re: How can I undo a change from a modification-hook?


From: Stefan Monnier
Subject: Re: How can I undo a change from a modification-hook?
Date: Wed, 26 Apr 2017 14:43:38 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

>>>> In the case of PG, I'd suggest you treat such a case as
>>>> a non-whitespace change.
>>> But I can't, can I? The damage (the change) is already done at that point,
>>> and I can't revert it.
>> But you can "retract" until the beginning of the changed area.
> No, not if the current subprocess is busy.

Not sure why it matters: you queue the retraction commands for execution
when the subprocess is done with its current command(s).


        Stefan




reply via email to

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