mirror of
https://github.com/abo-abo/avy.git
synced 2025-10-13 13:33:03 +00:00
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
This commit is contained in:
parent
954774d6e9
commit
aa35412375
4
avy.el
4
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user