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

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

Undo manipulation


From: Bill Wohler
Subject: Undo manipulation
Date: Thu, 14 Aug 2003 10:06:48 GMT
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux)

I don't want to add some manipulation to buffer-undo-list. For
example, let's say I have:

  1. blah
  2. blah
  xyz
  3. blah

and I want an undo to hit #3, then #2 and then #1, leaving xyz alone.
Are there normal ways to do this? Like inserting markers in
buffer-undo-list to later remove desired elements.

It just occurred to me that I could save buffer-undo-list into a
temporory variable, do my thing, and then restore the variable.

Thoughts?

-- 
Bill Wohler <wohler@newt.com>  http://www.newt.com/wohler/  GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.


reply via email to

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