projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99a1e87
)
Fix allout point movement problem
author
Stephen Berman
<stephen.berman@gmx.net>
Thu, 4 Nov 2021 18:39:01 +0000
(19:39 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 4 Nov 2021 18:39:16 +0000
(19:39 +0100)
* lisp/allout.el (allout-next-visible-heading): Ensure that we
move to the next physical line (bug#51530).
lisp/allout.el
patch
|
blob
|
history
diff --git
a/lisp/allout.el
b/lisp/allout.el
index 5102ee734125efe55a55389e80b20c6ecc23c3a4..174184fc7adea6adc953f369e36f99d8675c3160 100644
(file)
--- 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)