[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Towards a cleaner build: byte-run.el
From: |
Lars Ingebrigtsen |
Subject: |
Re: Towards a cleaner build: byte-run.el |
Date: |
Thu, 13 Jun 2019 18:30:44 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Here's an intractable one:
In toplevel form:
emacs-lisp/byte-run.el:48:9:Warning: `macro-declaration-function' is an
obsolete function (as of 24.3); use `macro-declarations-alist' instead.
It's this code:
(defvar macro-declaration-function #'macro-declaration-function
"Function to process declarations in a macro definition.
The function will be called with two args MACRO and DECL.
MACRO is the name of the macro being defined.
DECL is a list `(declare ...)' containing the declarations.
The value the function returns is not used.")
Both the variable and the function `macro-declaration-function' are
obsolete.
I can't suppress the warning, because at this point the macrology in
bytecomp.el isn't quite in place yet, and slapping a
`with-suppressed-warnings' either around the entire defvar, or changing
the definition to
(lambda (..)
(with-suppressed-errror
(macro-declaration-function ...)))
both fail.
Any ideas?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: Towards a cleaner build: disass.el, (continued)
- Re: Towards a cleaner build: disass.el, Stefan Monnier, 2019/06/13
- Re: Towards a cleaner build: erc.el, Stefan Monnier, 2019/06/13
- Re: Towards a cleaner build: erc.el, Lars Ingebrigtsen, 2019/06/14
- Re: Towards a cleaner build: project.el, Dmitry Gutov, 2019/06/13
- Re: Towards a cleaner build: project.el, Lars Ingebrigtsen, 2019/06/13
- Re: Towards a cleaner build: project.el, Dmitry Gutov, 2019/06/13
- Re: Towards a cleaner build: project.el, Lars Ingebrigtsen, 2019/06/13
- Re: Towards a cleaner build: byte-run.el,
Lars Ingebrigtsen <=
- Re: Towards a cleaner build: byte-run.el, Stefan Monnier, 2019/06/13
- Re: Towards a cleaner build: byte-run.el, Lars Ingebrigtsen, 2019/06/14
- Re: Towards a cleaner build: viper-ex, Eli Zaretskii, 2019/06/12
- Re: Towards a cleaner build: viper-ex, Lars Ingebrigtsen, 2019/06/13
- Re: Towards a cleaner build: viper-ex, Eli Zaretskii, 2019/06/13
- Re: Towards a cleaner build: viper-ex, Lars Ingebrigtsen, 2019/06/13
- Re: Towards a cleaner build: viper-ex, Eli Zaretskii, 2019/06/13
- Re: Towards a cleaner build: viper-ex, Dmitry Gutov, 2019/06/13
- Re: Towards a cleaner build: viper-ex, Lars Ingebrigtsen, 2019/06/13
- Re: Towards a cleaner build: viper-ex, Dmitry Gutov, 2019/06/13