avy.el (avy-process): Assume avy-action-oneshot will be let-bound

Re #353
This commit is contained in:
Oleh Krehel 2022-09-10 20:57:38 +02:00
parent fd7b02f556
commit 6f9eefadc9

1
avy.el
View File

@ -894,7 +894,6 @@ multiple OVERLAY-FN invocations."
(funcall avy-pre-action res) (funcall avy-pre-action res)
(setq res (car res)) (setq res (car res))
(let ((action (or avy-action avy-action-oneshot 'avy-action-goto))) (let ((action (or avy-action avy-action-oneshot 'avy-action-goto)))
(setq avy-action-oneshot nil)
(funcall action (funcall action
(if (consp res) (if (consp res)
(car res) (car res)