Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix command-loop errors #496

Merged
merged 1 commit into from
Oct 20, 2020
Merged

Conversation

wlandry
Copy link
Contributor

@wlandry wlandry commented Oct 19, 2020

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.

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.
@mattfidler mattfidler merged commit f5aa0f7 into ergoemacs:master Oct 20, 2020
@mattfidler
Copy link
Member

Thanks @wlandry.

@wlandry wlandry deleted the command_loop branch October 20, 2020 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error when starting M-x term
2 participants