[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Which keymap fired in minibuffer?

From: emacs-list-18
Subject: Which keymap fired in minibuffer?
Date: Sat, 14 Mar 2020 20:05:43 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)


 is there a (canonical) way to tell in which keymap the binding was
 found that was just executed in a minibuffer the current state of
 emacs? emacs version >= 26

 What i did till now is this:
 (defun find_binding()
 (message "local %s" (current-local-map))

 (global-set-key (kbd "<f2>") 'find_binding)

 ...but this only tells me the contents of the keymap, but not its name.

Any ideas?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]