[Top][All Lists]

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

Getting last-command with arguments

From: Suvayu Ali
Subject: Getting last-command with arguments
Date: Fri, 13 Sep 2013 12:06:26 +0200
User-agent: Mutt/1.5.21 (2012-12-30)


I am conditionally repeating the last command from inside an elisp
function.  So I look at `last-command' and decide.  But now I want to
see the original arguments: say the command was, M-2 M-x my-command RET,
then I want to know 2 was passed to `my-command'.  I am not sure how I
can do that.

I looked in (info "(elisp) Command Loop Info"), unless I missed
something I didn't find anything about retrieving arguments.

Any ideas?


Open source is the future. It sets us free.

reply via email to

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