unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Undo customization for a function
@ 2008-07-16 13:24 weber
  0 siblings, 0 replies; only message in thread
From: weber @ 2008-07-16 13:24 UTC (permalink / raw)
  To: help-gnu-emacs

Hi folks.

Suppose a function F that is executed several times in a row.
Is there any way that I can customize undo behavior so that undoing
reverts all changes for sucessive calls?

Something like this:

state A
user calls `insert'
state B
user calls `F'
state C
user calls `F'
state D

and after this, calling undo reverts buffer to state B?

Thanks in advance,
weber


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-16 13:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-16 13:24 Undo customization for a function weber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).