branch: elpa/sweeprolog
commit 3ecd2475d211ee0a939c16d022e77763a454e261
Author: Eshel Yaron <m...@eshelyaron.com>
Commit: Eshel Yaron <m...@eshelyaron.com>

    FIXED: correctly recognize "public" head terms
---
 sweeprolog.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sweeprolog.el b/sweeprolog.el
index 51c4c44f5f..9208b53e93 100644
--- a/sweeprolog.el
+++ b/sweeprolog.el
@@ -1686,7 +1686,7 @@ When non-nil, only predicates whose name contains PREFIX 
are returned."
      (list (list beg end (sweeprolog-head-imported-face))))
     (`("head" ,(rx "extern(") . ,_)
      (list (list beg end (sweeprolog-head-extern-face))))
-    (`("head" ,(rx "public(") . ,_)
+    (`("head" ,(rx "public ") . ,_)
      (list (list beg end (sweeprolog-head-public-face))))
     (`("head",(rx "dynamic ") ,f ,a)
      (add-to-list 'sweeprolog--exportable-predicates (concat f "/" 
(number-to-string a)))

Reply via email to