emacs-devel
[Top][All Lists]
Advanced

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

Re: master 5065698: Move the ‘declare’ form before the interactive spec


From: Stefan Monnier
Subject: Re: master 5065698: Move the ‘declare’ form before the interactive spec in 10 functions.
Date: Sat, 23 Jan 2021 15:49:40 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>> I think `nil` is the right answer: the (unknown) declaration expands to 
>> `nil`.
>
> `nil` doesn't output line numbers:
>
>   (macroexp--warn-and-return
>    (format-message "Warning: Unknown defun property `%S' in %S"
>                    (car x) name)
>    nil)
>
> =>
>
>     ELC      mh-e/mh-speed.elc
>   Warning: Unknown defun property `ignore' in mh-speed-toggle
>   Warning: Unknown defun property `ignore' in mh-speed-view

Hmm... that suggests the (macroexp--compiling-p) test returns nil for
some reason, which points to an error in `macroexp.el`.
[ I see an error in the code when form is nil, but that's unrelated to
  what you're seeing.  ]


        Stefan




reply via email to

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