Subject: bug#47389: 27.1.91; completion issue on eshell

From: Lars Ingebrigtsen <[email-masked]>
Date: Sat, 27 Mar 2021 13:29:22 +0100

andrés ramírez <[email-masked]> writes:

> No. I was NOT able of reproducing this with 'emacs -Q'.

Sorry; misread your bug report.

In any case, what you're seeing is typically what you'd get if
em-cmpl.el has been miscompiled somehow, or you have a copy of that file
somewhere that's mangled -- it uses lexical binding here, but if that's
not heeded, you'd get the error you're seeing.

So I'd update and re-build Emacs and see whether that helps.

The backtrace also seems to indicate that em-cmpl file hasn't been
byte-compiled at all.  Or do you perhaps have a copy of the
eshell--complete-commands-list somewhere else, for instance in your
.emacs file?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no