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

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

Re: Calling function as if it had a C-u prefix


From: Tory S. Anderson
Subject: Re: Calling function as if it had a C-u prefix
Date: Fri, 27 Feb 2015 16:54:10 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Ah, that did it! I had already tried both

    (org-clock-in t)
and
    (org-clock-in 4)

And they didn't do the trick. For whatever reason, the quote and the 
parentheses did the trick. Thanks!

Michael Heerdegen <address@hidden> writes:

> Drew Adams <address@hidden> writes:
>
>> Sometimes a function does not pass the prefix arg as a parameter, but
>> typically functions do, and the advice above should be sufficient.
>
> Should work.  `org-clock-in' uses (interactive "P"), so
>
>     (org-clock-in '(4))
>
> should do it.



reply via email to

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