help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Passing arguments to functions


From: Kevin Rodgers
Subject: Re: Passing arguments to functions
Date: Tue, 22 Feb 2011 21:28:26 -0700
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7

On 2/20/11 6:11 AM, jkb0932 wrote:

This answer to this question should be obvious, but no one seems to address
it explcitly:

How do I pass arguments to a function call? i.e. if I do "M-x some-function"
and "some-function" takes optional arguments, how do I pass those arguments
to the function call?

If the function's interactive form supports it, it will be documented (e.g.
"with a prefix arg, prompt and read optional arg FOO from the minibuffer").

If the function's interactive form does not support it, call the function
non-interactively with M-: instead of M-x:

M-: (some-function ARG-1 ... ARG-N) RET

--
Kevin Rodgers
Denver, Colorado, USA




reply via email to

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