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 unintended undef-hook invocation due to more than twice key lookup #1019

Merged
merged 1 commit into from Aug 29, 2023

Conversation

fukamachi
Copy link
Collaborator

@fukamachi fukamachi commented Aug 29, 2023

After the merge of #1004, the completion-mode can't use C-n and C-p to choose an item.

This is because #1004 adds minor-mode keymaps to the top of the keymaps list to make them a high priority. I didn't think this caused any problems, but it invoked the undef-hook of the completion keymap by accident.

The key command will go through the list of keymaps like this: next-line -> completion-next-line -> completion-self-insert (by undef-hook).

Reported by @Sasanidas.

@fukamachi fukamachi marked this pull request as draft August 29, 2023 11:45
@fukamachi fukamachi marked this pull request as ready for review August 29, 2023 11:49
@cxxxr cxxxr merged commit 99a93de into lem-project:main Aug 29, 2023
1 check passed
@cxxxr
Copy link
Member

cxxxr commented Aug 29, 2023

Thanks!

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.

None yet

2 participants