[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Run Non-Interactive Function with Prefix
From: |
Anselm Helbig |
Subject: |
Re: Run Non-Interactive Function with Prefix |
Date: |
Tue, 18 Oct 2005 20:37:27 +0200 |
User-agent: |
Wanderlust/2.11.30 (Wonderwall) Emacs/21.4 Mule/5.0 (SAKAKI) |
hi,
for interactive functions, the prefix argument becomes part of the
argument list, if it is referenced in the interactive declaration. you
can read more about it here:
(info "(elisp)Prefix Command Arguments")
so if you want to call an interactive function from a program, you
have to figure out which argument corresponds to the prefix
argument. in the worst case scenario, you have to parse the
interactive declaration yourself. but since there already is code that
does just that, chances are you don't have to.
regards,
anselm
Re: Run Non-Interactive Function with Prefix, Kevin Rodgers, 2005/10/18
Message not available