branch: externals/leaf
commit 896da3e82da4fa858078603c1893b8a797106314
Author: Zheng Junjie <[email protected]>
Commit: Zheng Junjie <[email protected]>

    fix leaf-find-regexp.
---
 leaf.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/leaf.el b/leaf.el
index ff45cd1..0c13b12 100644
--- a/leaf.el
+++ b/leaf.el
@@ -409,7 +409,7 @@ This variable must be result of `plstore-open'."
   :type 'sexp
   :group 'leaf)
 
-(defcustom leaf-find-regexp ".*([[:space:]]*leaf[[:space:]]+%s"
+(defcustom leaf-find-regexp ".*([[:space:]]*leaf[[:space:]]+\\(%s\\)"
   "The regexp used by `leaf-find' to search for a leaf block.
 Note it must contain a `%s' at the place where `format'
 should insert the leaf name."

Reply via email to