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

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

Re: Prefix Argument and optional argument


From: Christopher Dimech
Subject: Re: Prefix Argument and optional argument
Date: Thu, 7 Jul 2022 21:38:07 +0200


> Sent: Friday, July 08, 2022 at 2:58 AM
> From: "Stefan Monnier via Users list for the GNU Emacs text editor" 
> <help-gnu-emacs@gnu.org>
> To: help-gnu-emacs@gnu.org
> Subject: Re: Prefix Argument and optional argument
>
> Christopher Dimech [2022-07-07 15:15:01] wrote:
> > (defun poke (prefix)
> >   "TODO."
> >   (interactive "P")
> > ...)
> >
> > gives 
> >
> > Warning: misplaced interactive spec: ‘(interactive P)’
> 
> I don't get this warning here.  Instead I get two arnings, one about the
> fact that `prefix` is not used, and the other about the fact that `...`
> is not a known variable.
> I suspect that you compiled a slightly different code.
> 
> 
>         Stefan

Correct, I had it without the "...".
 
 
>



reply via email to

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