1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-05 22:20:24 -08:00

Fix allout point movement problem

* lisp/allout.el (allout-next-visible-heading): Ensure that we
move to the next physical line (bug#51530).
This commit is contained in:
Stephen Berman 2021-11-04 19:39:01 +01:00 committed by Lars Ingebrigtsen
parent 99a1e87067
commit 0a7ccdaeef

View file

@ -3079,6 +3079,8 @@ Move to buffer limit in indicated direction if headings are exhausted."
(backward (if (< arg 0) (setq arg (* -1 arg))))
(step (if backward -1 1))
(progress (allout-current-bullet-pos))
;; Move to the next physical line.
(line-move-visual nil)
prev got)
(while (> arg 0)