jed-users mailing list

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

Re: Recall last command?


John E. Davis <davis@xxxxxxxxxxxxx> wrote:

JED> Morten Bo Johansen <mojo@xxxxxxxx> wrote:
>>Is there a function available that will let me recall the last
>>command?

JED> What do you mean by "last command"?  The last mini-buffer command?
JED> The function attached to the last key sequence?  

The latter. I should have made that clearer.

JED> The mini_get_lines function returns the list of mini-buffer
JED> items.  The LAST_KBD_COMMAND variable contains the value of
JED> the last interactive key-sequence function.

JED> Also, 0.99-16 provides hooks that can be attached to key sequences:

JED>     _jed_before_key_hooks
JED>     _jed_after_key_hooks

JED> After I release it this weekend, look at how wmark.sl uses these hooks
JED> and compare the simplicity of the new version of wmark.sl with
JED> wmark.sl from 0.99-15.


I'll be looking forward to it. Thank you.



Regards,

Morten

-- 
"Education is a method whereby one acquires a higher grade of prejudices."
                                                      (Laurence J. Peter)

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


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