jed-users mailing list

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

Re: Recall last command?


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

What do you mean by "last command"?  The last mini-buffer command?
The function attached to the last key sequence?  The mini_get_lines
function returns the list of mini-buffer items.  The LAST_KBD_COMMAND
variable contains the value of the last interactive key-sequence
function.

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

    _jed_before_key_hooks
    _jed_after_key_hooks

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

--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>.


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