Subject: bug#39823: 26.3; update-directory-autoloads regression from Emacs 26 to Emacs 27

From: Maxim Cournoyer <[email-masked]>
Date: Tue, 07 Apr 2020 23:55:18 -0400

Hello Richard,

Richard Stallman <[email-masked]> writes:

[...]

> I still see no way in which lexical as default makes any sense for --eval.

Why would it be different than for M-: (eval-expression)? 

It seem to be mostly a matter of consistency (moving to lexical scope by
default, everywhere).

For the record, this change of behavior was mitigated in GNU Guix with
the following change, which was one of the suggestions made here (wrap
in eval):
https://git.savannah.gnu.org/cgit/guix.git/commit/?id=afc6b1c0b635e3268795c0f766be408c5e9858e7.

I think it could be nice to update update-directory-autoloads to work in
a lexical setting before closing this bug, though.

Maxim