branch: externals/leaf
commit bafd5c5ad270a4afc009c7c69ca88b300510feaa
Author: Naoya Yamashita <[email protected]>
Commit: Naoya Yamashita <[email protected]>
move leaf-find-regexp definition
---
leaf.el | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/leaf.el b/leaf.el
index c007de7..04ac5ca 100644
--- a/leaf.el
+++ b/leaf.el
@@ -409,6 +409,13 @@ This variable must be result of `plstore-open'."
:type 'sexp
:group 'leaf)
+(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."
+ :type 'regexp
+ :group 'leaf)
+
(defcustom leaf-enable-imenu-support t
"If non-nil, enable `imenu' integrations.
Ref: `lisp-imenu-generic-expression'."
@@ -723,14 +730,6 @@ see `alist-get'."
;;;; find-function
-(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."
- :type 'regexp
- :group 'leaf)
-
(with-eval-after-load 'find-func
(defvar find-function-regexp-alist)
(add-to-list 'find-function-regexp-alist