Subject: bug#45177: 27.1; Access to invoking top level command in minibuffer

From: Stefan Monnier <[email-masked]>
Date: Mon, 02 Aug 2021 00:04:05 -0400

[ Resending because of that damn archiving misfeature.  ]

> Thanks for testing -- I've now pushed this to Emacs 28, but I renamed
> the variable to `current-minibuffer-command'.  (And if somebody wants to
> rename that, please go ahead.)
> With that, I'm closing this bug report.

Using such let-binding is exactly what we're trying to move away from;
we should bind it buffer-locally in the minibuffer instead (as we've
seen with `minibuffer-local-map`).

        Stefan