branch: master
commit 7a3332d94d008f3f5f0841821a0a5b2603131213
Author: Ian D <du...@gnu.org>
Commit: Ian D <du...@gnu.org>

    Fixed error in re-search
    
    * org-edna.el (org-edna-condition/re-search): Correctly use `buffer-name'
---
 org-edna.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/org-edna.el b/org-edna.el
index 6f87490..50cfe54 100644
--- a/org-edna.el
+++ b/org-edna.el
@@ -520,7 +520,7 @@ IDS are all UUIDs as understood by `org-id-find'."
 (defun org-edna-condition/re-search (neg match)
   (let ((condition (re-search-forward match nil t)))
     (when (org-xor condition neg)
-      (format "Found %s in %s" match buffer-name))))
+      (format "Found %s in %s" match (buffer-name)))))
 
 
 

Reply via email to