unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Getting last-command with arguments
@ 2013-09-13 10:06 Suvayu Ali
  2013-09-13 11:34 ` Nicolas Richard
  0 siblings, 1 reply; 8+ messages in thread
From: Suvayu Ali @ 2013-09-13 10:06 UTC (permalink / raw)
  To: Emacs help

Hi,

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?

-- 
Suvayu

Open source is the future. It sets us free.



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-09-16 13:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-13 10:06 Getting last-command with arguments Suvayu Ali
2013-09-13 11:34 ` Nicolas Richard
2013-09-13 12:42   ` Stefan Monnier
2013-09-13 13:33     ` Suvayu Ali
2013-09-13 13:10   ` Suvayu Ali
2013-09-13 13:58     ` Nicolas Richard
2013-09-14  0:12       ` Xue Fuqiao
2013-09-16 13:34         ` Nicolas Richard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).