jed-users mailing list

[2005 Date Index] [2005 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: Problems & Questions


Adam Byrtek <alpha@xxxxxxxxxxxx> wrote:
>This was also a problem for me. I've already found out how to do this,
>but using a prefix for redo is definitely not intuitive. I would love
>to have a redo function I can bind a key to. Is there any way to
>accomplish this?

site.sl contains a redo function.  However I suspect this version of
it may be what you are after:

public define redo ()
{
   ERROR_BLOCK 
     {
	call("undo");
	_clear_error ();
     };
   if (CURRENT_KBD_COMMAND == LAST_KBD_COMMAND)
     call ("undo");
   else
     call("kbd_quit");
}

Thanks,
--John

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2005 date index] [2005 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]