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

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

[elpa] master 4c8058f 129/135: Step down should not include the headline


From: Ian Dunn
Subject: [elpa] master 4c8058f 129/135: Step down should not include the headline itself when it has no children.
Date: Mon, 17 Feb 2020 10:53:06 -0500 (EST)

branch: master
commit 4c8058fee983504392f024620fa01ef146197af8
Author: Alex Roper <address@hidden>
Commit: address@hidden <address@hidden>

    Step down should not include the headline itself when it has no children.
---
 org-edna.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/org-edna.el b/org-edna.el
index 1cdc52b..edcf66e 100644
--- a/org-edna.el
+++ b/org-edna.el
@@ -971,8 +971,8 @@ All arguments are symbols, unless noted otherwise.
         ('step-down
          (setq targets
                (org-with-wide-buffer
-                (org-goto-first-child)
-                (org-edna-collect-current-level (org-edna-self-marker) nil nil 
t))))
+                (when (org-goto-first-child)
+                (org-edna-collect-current-level (org-edna-self-marker) nil nil 
t)))))
         ('todo-only
          ;; Remove any entry without a TODO keyword, or with a DONE keyword
          (cl-pushnew



reply via email to

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