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

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

RE: Making a command undoable


From: Doug Lewan
Subject: RE: Making a command undoable
Date: Fri, 31 Aug 2012 17:57:30 +0000

The elisp info documentation (section 32.9 in emacs 24) tells you what kind of 
information you have to keep track of and how to do so.

I've also noticed that you very often get "undo" for free if your command make 
changes in "normal" ways. I assume that "the unit to undo" is a single M-x CMD, 
but I've never researched this.

,Doug

> -----Original Message-----
> From: help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org
> [mailto:help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org] On
> Behalf Of Raffaele Ricciardi
> Sent: Friday, 2012 August 31 13:17
> To: help-gnu-emacs@gnu.org
> Subject: Making a command undoable
> 
> Hello,
> 
> you have written a command and you want to make it undoable by using
> `undo'.  How do you accomplish that?
> 
> Thanks.




reply via email to

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