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

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

[elpa] scratch/org-edna 4a54e3b 09/72: Fixed headings condition


From: Ian Dunn
Subject: [elpa] scratch/org-edna 4a54e3b 09/72: Fixed headings condition
Date: Sun, 21 May 2017 21:11:19 -0400 (EDT)

branch: scratch/org-edna
commit 4a54e3b5ed3d76c599460caee20478a65198fe36
Author: Ian D <address@hidden>
Commit: Ian D <address@hidden>

    Fixed headings condition
    
    * org-bat.el (org-bat-condition/headings): Check for a non-empty set of 
headings
      rather than an empty one.
---
 org-bat.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/org-bat.el b/org-bat.el
index ef439bd..e3ca976 100644
--- a/org-bat.el
+++ b/org-bat.el
@@ -377,7 +377,7 @@ IDS are all UUIDs as understood by `org-id-find'."
 
 ;; Block if there are headings
 (defun org-bat-condition/headings (neg)
-  (let ((condition (seq-empty-p (org-map-entries (lambda nil t)))))
+  (let ((condition (not (seq-empty-p (org-map-entries (lambda nil t))))))
     (when (org-bat--xor condition neg)
       (buffer-name))))
 



reply via email to

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