branch: externals/avy
commit aa354123757b78db516c74c5596beeb3c2e81e28
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
avy.el (avy--line-cands): Don't set temporary-goal-column
This was introduced when fixing `avy-goto-line' for the combination of
`org-indent-mode' and `visual-line-mode'. Tested that removing it does
not cause a regression.
Re #110
Fixes #302
---
avy.el | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/avy.el b/avy.el
index 9303661943..fd6131627c 100644
--- a/avy.el
+++ b/avy.el
@@ -1612,9 +1612,7 @@ When BOTTOM-UP is non-nil, display avy candidates from
top to bottom"
(point)))
(selected-window)) candidates))
(if visual-line-mode
- (progn
- (setq temporary-goal-column 0)
- (line-move-visual 1 t))
+ (line-move-visual 1 t)
(forward-line 1)))))))
(if bottom-up
candidates