[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Towards a cleaner build
From: |
Noam Postavsky |
Subject: |
Re: Towards a cleaner build |
Date: |
Sun, 9 Jun 2019 11:02:53 -0400 |
On Sun, 9 Jun 2019 at 10:53, Lars Ingebrigtsen <address@hidden> wrote:
> (with-suppressed-warnings ((unused foo))
> (defun bar (foo)
> nil))
>
> ?
>
> Looks kinda janky. Perhaps a `declare' would be more sensible. Or not
> being able to use `with-suppressed-warnings' here.
The warning can be suppressed with (ignore foo), so I guess
(defun bar (foo)
(with-suppressed-warnings ((unused foo))
nil))
Could expand to
(defun bar (foo)
(progn
(ignore foo)
nil))
Although that does mean you have make sure to only use that within the
scope of foo.
- Re: Towards a cleaner build, Lars Ingebrigtsen, 2019/06/09
- Re: Towards a cleaner build, Lars Ingebrigtsen, 2019/06/09
- Re: Towards a cleaner build,
Noam Postavsky <=
- Re: Towards a cleaner build, Lars Ingebrigtsen, 2019/06/09
- Re: Towards a cleaner build, Stefan Monnier, 2019/06/09
- Re: Towards a cleaner build, Lars Ingebrigtsen, 2019/06/09
- Re: Towards a cleaner build, Lars Ingebrigtsen, 2019/06/09
- Re: Towards a cleaner build, Eli Zaretskii, 2019/06/11
- Re: Towards a cleaner build, Lars Ingebrigtsen, 2019/06/12
- Re: Towards a cleaner build, Lars Ingebrigtsen, 2019/06/12
- Re: Towards a cleaner build, Stefan Monnier, 2019/06/12
- Re: Towards a cleaner build, Lars Ingebrigtsen, 2019/06/12
- Re: Towards a cleaner build, Stefan Monnier, 2019/06/13