evil-normal-state
doesn't work when called from an async callback of plz
#59
-
It seems
To reproduce:
|
Beta Was this translation helpful? Give feedback.
Answered by
alphapapa
Jun 10, 2024
Replies: 1 comment
-
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. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
NightMachinery
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.