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: Michael Heerdegen
Subject: Re: Prefix Argument and optional argument
Date: Thu, 07 Jul 2022 15:38:49 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Yuri Khan <yuri.v.khan@gmail.com> writes:

> > It warns about transposed interactive spec and docstring - a programmer
> > error.
>
> In the original post, the order is the same in both examples — first
> the docstring, then the interactive spec, then the body forms. I do
> not understand why one would cause a warning but not the other.

That doesn't happen for these examples AFAICT.  These were only
skeletons, however.  I didn't follow who compiled what, I only tried to
explain the intention of the warnings.

You also get such a warning for a function with an interactive spec but
an empty body.  Maybe that had happened to someone.

Michael.




reply via email to

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