emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 0a7ccda: Fix allout point movement problem


From: Lars Ingebrigtsen
Subject: master 0a7ccda: Fix allout point movement problem
Date: Thu, 4 Nov 2021 14:39:22 -0400 (EDT)

branch: master
commit 0a7ccdaeeff3cf91cc548e3cbd21d3f32c7dac7b
Author: Stephen Berman <stephen.berman@gmx.net>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix allout point movement problem
    
    * lisp/allout.el (allout-next-visible-heading): Ensure that we
    move to the next physical line (bug#51530).
---
 lisp/allout.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/allout.el b/lisp/allout.el
index 5102ee7..174184f 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]