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

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

[elpa] externals/org-real 9f314c0da7 021/188: Simplified merge function


From: ELPA Syncer
Subject: [elpa] externals/org-real 9f314c0da7 021/188: Simplified merge function
Date: Sun, 5 May 2024 22:55:49 -0400 (EDT)

branch: externals/org-real
commit 9f314c0da7a444aa17546ee12689c4f3bab8253f
Author: Amy Grinn <grinn.amy@gmail.com>
Commit: Amy Grinn <grinn.amy@gmail.com>

    Simplified merge function
---
 org-real.el | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/org-real.el b/org-real.el
index 588b3e6dfa..557b689be3 100644
--- a/org-real.el
+++ b/org-real.el
@@ -224,11 +224,9 @@ If EXCLUDE-CHILDREN, only retrieve sibling boxes."
       (if (= 0 (length boxes))
           (org-real--box)
         (car boxes))
-    (let ((world (org-real--box))
-          box)
+    (let ((world (org-real--box)))
       (while boxes
-        (setq box (pop boxes))
-        (org-real--merge-into box world))
+        (org-real--merge-into (pop boxes) world))
       world)))
 
 (defun org-real--expand (box)



reply via email to

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