[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: invoke a keyboard menu map from lisp?
From: |
Stefan Monnier |
Subject: |
Re: invoke a keyboard menu map from lisp? |
Date: |
Thu, 27 Aug 2015 13:00:13 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> ;; FIXME: invoke the map
> But I can't find the function that executes the keymap.
I guess you'd need to (temporarily) set your map as one of (or the
only/main) active keymaps (e.g. using overriding-local-map), and then
call ‘read-key-sequence’, tho I'm not sure if the "menu keymap" feature
works for the "root" keymap. This feature is used *extremely* rarely,
it's mostly unknown, ...
Stefan