I can't reproduce it. flymake-log is a(n autoloaded) lisp macro, not a
function, and it's only invoked in the elisp-flymake-byte-compile
backend's sentinel in elisp-mode.el that sentinel detects an obsolete
check (BTW your report is still helpful because it shows a case where
that detection was a false positive)How did you compile your emacs-26?
I'm sorry, I was checking on master, not emacs-26 branch and
testing branch on emacs-26 without your fixing commit couldn't reproduce
the bug by myself. So please ignore my bug conformation. (you fixed another bug was great though)
Also I must admit that I didn't use the `make bootstrap" to compile emacs
I was using below script:
---
./autogen.sh all
./configure \
CFLAGS='-O2' \
--with-dbus -without-toolkit-scroll-bars \
--with-xim --without-makeinfo --with-modules \
--with-x-toolkit=lucid
make
---
I've just pushed a fix the false detection problem in the emacs-26
branch. The fix will (perhaps unfortunately) shoosh your error as well,
so take note of the git HEAD you were in, and try to "make bootstrap".
Sorry, I just did git pull things without thinking, but I built emacs around Oct 16 as
fa as remember (before I submit new flymake's feature request on devel) in case if you care.