[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 "...".
>
- Re: Prefix Argument and optional argument, (continued)
- docstrings (was: Re: Prefix Argument and optional argument), Emanuel Berg, 2022/07/07
- Re: docstrings (was: Prefix Argument and optional argument), Christopher Dimech, 2022/07/07
- Re: docstrings (was: Prefix Argument and optional argument), Christopher Dimech, 2022/07/07
- Re: docstrings (was: Prefix Argument and optional argument), Emanuel Berg, 2022/07/07
- enforce/automate docstring correctnes (was: Re: docstrings), Emanuel Berg, 2022/07/07
- Re: Prefix Argument and optional argument, Stefan Monnier, 2022/07/07
- Re: Prefix Argument and optional argument, Emanuel Berg, 2022/07/07
- Re: Prefix Argument and optional argument, Christopher Dimech, 2022/07/07
- Re: Prefix Argument and optional argument,
Christopher Dimech <=
- Re: Prefix Argument and optional argument, Jean Louis, 2022/07/07
- Re: Prefix Argument and optional argument, Christopher Dimech, 2022/07/07
- Re: Prefix Argument and optional argument, Yuri Khan, 2022/07/07
- Re: Prefix Argument and optional argument, Michael Heerdegen, 2022/07/07