emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/org 83bc81b750 2/6: lisp/org-list.el (org-list-swap-ite


From: ELPA Syncer
Subject: [elpa] externals/org 83bc81b750 2/6: lisp/org-list.el (org-list-swap-items): Fix re-folding after swap
Date: Fri, 2 Feb 2024 12:58:50 -0500 (EST)

branch: externals/org
commit 83bc81b7509e19931fe10a78c6a7549155df538d
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

     lisp/org-list.el (org-list-swap-items): Fix re-folding after swap
---
 lisp/org-list.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org-list.el b/lisp/org-list.el
index 590f9d759c..fca3758c84 100644
--- a/lisp/org-list.el
+++ b/lisp/org-list.el
@@ -1152,7 +1152,7 @@ This function modifies STRUCT."
         (org-fold-core-regions (cdr folds) :relative beg-A)
         (org-fold-core-regions
          (car folds)
-         :relative (+ beg-B (- size-B size-A (length 
between-A-no-blank-and-B))))
+         :relative (+ beg-A size-B (length between-A-no-blank-and-B)))
         ;; 2. Now modify struct.  No need to re-read the list, the
         ;;    transformation is just a shift of positions.  Some special
         ;;    attention is required for items ending at END-A and END-B



reply via email to

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