[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Run Non-Interactive Function with Prefix
From: |
Kevin Rodgers |
Subject: |
Re: Run Non-Interactive Function with Prefix |
Date: |
Tue, 18 Oct 2005 12:33:19 -0600 |
User-agent: |
Mozilla Thunderbird 0.9 (X11/20041105) |
Kenneth Jacker wrote:
> If I want to execute a function that supports a "prefix" argument
> interactively, I enter something like:
>
> C-u M-x foobar
>
> How can I do the same thing but *non*-interactively?
>
> This will just run 'foobar',
>
> (foobar)
>
> But how to request it to be run with a prefix arg?
(let ((prefix-arg '(4))) ; C-u
(call-interactively 'foobar))
--
Kevin Rodgers
Re: Run Non-Interactive Function with Prefix,
Kevin Rodgers <=
Message not available