diff options
| author | Adam Porter <adam@alphapapa.net> | 2025-11-29 06:20:50 -0600 |
|---|---|---|
| committer | Adam Porter <adam@alphapapa.net> | 2025-11-29 06:20:50 -0600 |
| commit | c7b830cf48d639be8fb7ee0f55f53341cb185102 (patch) | |
| tree | 154a3c3cfdfe631003ce692b59178761ce6b0312 | |
| parent | 8b66f800aa9ddddeff7c38f2857102e1f1e469bc (diff) | |
Fix: (taxy-lift)externals/taxy
Should really test more carefully before pushing, but enthusiasm...
| -rw-r--r-- | taxy.el | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -137,10 +137,10 @@ operates recursively within TAXY's sub-taxys." (cl-labels ((rec (taxy) (mapc #'rec (taxy-taxys taxy)) (dolist (sub-taxy (taxy-taxys taxy)) - (when (< 0 (length (taxy-items sub-taxy)) taxy-lift-min-items) + (when (and (not (taxy-taxys sub-taxy)) + (< 0 (length (taxy-items sub-taxy)) taxy-lift-min-items)) (cl-callf2 append (taxy-items sub-taxy) (taxy-items taxy)) - (cl-callf2 remq sub-taxy (taxy-taxys taxy)) - (setf (taxy-items sub-taxy) nil))))) + (cl-callf2 remq sub-taxy (taxy-taxys taxy)))))) (rec taxy)) taxy) |
