emacs-devel
[Top][All Lists]
Advanced

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

Re: Towards a cleaner build


From: Lars Ingebrigtsen
Subject: Re: Towards a cleaner build
Date: Fri, 17 May 2019 12:05:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

> I thought about something even more focused, like
>
>   (declare 'warning-about-arguments-mismatch 'off)
>
> inside the function's body.

Would that switch off warnings about all argument mismatching in the
function's body?  Because that sounds a bit drastic, too, since you
would want to have warnings about all other function calls with argument
mismatches...

  (declare 'warning-about-arguments-mismatch 'display-completion-list 'off)

perhaps?

But there's other things you may want to disable warnings about that
perhaps won't be that easy to express, so `with-no-warnings' seems more
focused and convenient...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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