Skip to content

evil-normal-state doesn't work when called from an async callback of plz #59

Closed Answered by alphapapa
NightMachinery asked this question in Q&A
Discussion options

You must be logged in to vote

When writing Elisp, you must be aware of which buffer is current when your code is evaluated. You are writing an asynchronous request, so you must not assume which buffer will be current when the callback is called. You will need to set the current buffer for your code to have the desired effect.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by NightMachinery
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #58 on June 10, 2024 17:15.