mirror of
https://github.com/abo-abo/avy.git
synced 2026-02-04 06:42:26 +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:
4
avy.el
4
avy.el
@@ -1612,9 +1612,7 @@ When BOTTOM-UP is non-nil, display avy candidates from top to bottom"
|
|||||||
(when avy-indent-line-overlay
|
(when avy-indent-line-overlay
|
||||||
(skip-chars-forward " \t"))
|
(skip-chars-forward " \t"))
|
||||||
(point)))
|
(point)))
|
||||||
(selected-window)) candidates))
|
(selected-window)) candidates))
|
||||||
(if visual-line-mode
|
|
||||||
(progn
|
|
||||||
(if visual-line-mode
|
(if visual-line-mode
|
||||||
(line-move-visual 1 t)
|
(line-move-visual 1 t)
|
||||||
(forward-line 1)))))))
|
(forward-line 1)))))))
|
||||||
|
|||||||
Reference in New Issue
Block a user