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

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

Re: prefix arg in (interactive (list )) form


From: PJ Weisberg
Subject: Re: prefix arg in (interactive (list )) form
Date: Fri, 3 Jun 2011 21:54:03 -0700

current-prefix-arg

Actually anywhere in the function that'll have the value of the raw prefix arg.

On Friday, June 3, 2011, Jambunathan K <kjambunathan@gmail.com> wrote:
>
> How do I get prefix arg in the code down below?
>
> (defun org-export-as (backend arg)
>   ;; (interactive "Mbackend: \nP") <====== original
>   (interactive
>    (list (ido-completing-read
>           "Export to: " org-export-other-backends-alist nil t nil)
>          nil))  ; <===== equivalent. How do I get prefix arg here
>
>   ;; etc etc etc
>   )
>
>
> TIA,
> Jambunathan K.
>
> --
>
>

-- 

-PJ



reply via email to

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