help-gnu-emacs
[Top][All Lists]
Advanced

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

Calling a function interactively, and undo-information


From: Tobias C. Rittweiler
Subject: Calling a function interactively, and undo-information
Date: Sat, 21 Feb 2009 22:28:44 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.60 (gnu/linux)

Hi,

Is there a way to invoke a function exactly as if it was invoked by the
command-loop? `call-interactively' does not push an undo-boundary on the
undo-list.

It's for writing unit tests that should check for some specific undo
behaviour. Of course, I could call `undo-boundary' myself after calling
the function, but this would test for something slightly different.

Thanks!,

  -T.





reply via email to

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