[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52342: [PATCH] Add Texinfo support for Flymake
From: |
Okamsn |
Subject: |
bug#52342: [PATCH] Add Texinfo support for Flymake |
Date: |
Tue, 07 Dec 2021 23:39:31 +0000 |
On 12/7/21 09:23, João Távora wrote:
> Not sure about the eval-when-compile for require. It was my
> expression that require is always "when compile".
>
> I've unfortunately been a little away from Emacs lately.
>
> João
My understanding is that `eval-when-compile` is used to make sure that
macro definitions are available during compilation and that the
libraries are not loaded when `texinfo.el` is loaded. The macros in the
patch are `rx`, `cl-loop`, and `flymake-log`.
There is also the following comment on line 82 of the current version
(https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/textmodes/texinfo.el#n82):
> Don't you dare insert any `require' calls at top level in this file
> --rms.
which I tried to observe.