[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52374: keymap-lookup with prefixes returns nil
From: |
Lars Ingebrigtsen |
Subject: |
bug#52374: keymap-lookup with prefixes returns nil |
Date: |
Fri, 10 Dec 2021 13:11:43 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Stefan Kangas <stefan@marxist.se> writes:
> Run emacs -Q, type `M-x re-builder RET' and then `C-c C-q':
>
> Now evaluate:
>
> (lookup-key reb-mode-map "\C-c")
> => (keymap (21 . reb-force-update) (2 . reb-change-target-buffer) ...)
>
> Compare this to:
>
> (keymap-lookup reb-mode-map "C-c")
> => nil
>
> Is the second result expected, or is it a bug?
It's a bug. Should be fixed now.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no