ergoemacs / ergoemacs-mode

ergoemacs-mode
ergoemacs.github.io/
GNU General Public License v3.0
293 stars 35 forks source link

Fix command-loop errors #496

Closed wlandry closed 4 years ago

wlandry commented 4 years ago

The problem was that mapkeymap was looking for a prefix in a keymap and assuming that the result was a list. This will fail when invoking 'term', because it has a keymap with a lot of elements specified as

^^[3 0 term-send-raw-meta term-send-raw-meta ...

We now check explicitly for whether the result is a list.

Fixes #493, #378, and #455.

mattfidler commented 4 years ago

Thanks @wlandry.