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: Juri Linkov
Subject: Re: master 5065698: Move the ‘declare’ form before the interactive spec in 10 functions.
Date: Sat, 23 Jan 2021 22:14:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>> Because I don't know what to give to the second arg FORM of
>> 'macroexp--warn-and-return'.
>
> 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



reply via email to

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