Closed adimit closed 11 months ago
Yes, this seems to be a limitation in Emacs itself. Tested with this in emacs -Q:
(global-set-key (kbd "C-[") (lambda () (message "foo")))
Unfortunately, I don't think there is anything we can do about this in use-package itself. If this is to be changed, it has to be done in Emacs.
I'm therefore closing this bug.
Here's a minimal config:
I'm using Emacs 29 (haven't tried with stable Emacs yet, but I could, if it's not reproducible).
After loading above config, pressing
M-x
will result in user errorM-x is undefined
.This seems to be a general problem in Emacs, not necessarily related to
use-package
. Perhaps it's impossible foruse-package
to handle this case :confused: