GNU bug report logs - #52374
keymap-lookup with prefixes returns nil

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefan <at> marxist.se>

Date: Wed, 8 Dec 2021 12:22:02 UTC

Severity: normal

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Kangas <stefan <at> marxist.se>
To: 52374 <at> debbugs.gnu.org
Subject: bug#52374: keymap-lookup with prefixes returns nil
Date: Wed, 8 Dec 2021 13:21:10 +0100
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?




This bug report was last modified 3 years and 158 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.