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

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

[elpa] master 3937f31 009/135: Fixed headings condition


From: Ian Dunn
Subject: [elpa] master 3937f31 009/135: Fixed headings condition
Date: Mon, 17 Feb 2020 10:52:43 -0500 (EST)

branch: master
commit 3937f31f64de63ff20150febafcd7980886745c2
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]