diff options
author | Stephen Berman <stephen.berman@gmx.net> | 2021-11-04 19:39:01 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-11-04 19:39:16 +0100 |
commit | 0a7ccdaeeff3cf91cc548e3cbd21d3f32c7dac7b (patch) | |
tree | 1731b1e25e5bb8ccde3be5d13417fb3f1ab4fdb0 /lisp/allout.el | |
parent | 99a1e87067a21893d86cf71553f8cbc6f36ffbbb (diff) | |
download | emacs-0a7ccdaeeff3cf91cc548e3cbd21d3f32c7dac7b.tar.gz |
Fix allout point movement problem
* lisp/allout.el (allout-next-visible-heading): Ensure that we
move to the next physical line (bug#51530).
Diffstat (limited to 'lisp/allout.el')
-rw-r--r-- | lisp/allout.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/allout.el b/lisp/allout.el index 5102ee73412..174184fc7ad 100644 --- a/lisp/allout.el +++ b/lisp/allout.el @@ -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) |