summaryrefslogtreecommitdiff
path: root/elisp/geiser-edit.el
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-10-16 03:25:28 +0100
committerjao <jao@gnu.org>2022-10-16 03:25:28 +0100
commit1c03af209ee46da5e3922884934539648c06cac0 (patch)
treeafd60574f2e92642b109b59e4f624a9c236e9c05 /elisp/geiser-edit.el
parentc437b1eca906f9c06eb5acef49f84bc4a87d2b8b (diff)
downloadgeiser-1c03af209ee46da5e3922884934539648c06cac0.tar.gz
geiser-1c03af209ee46da5e3922884934539648c06cac0.tar.bz2
little tweak to regexp definitions
it's a bit of a mess and should be using the syntax reader instead, but not sure if it's worth it.
Diffstat (limited to 'elisp/geiser-edit.el')
-rw-r--r--elisp/geiser-edit.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/elisp/geiser-edit.el b/elisp/geiser-edit.el
index ee85bdf..1a5d1de 100644
--- a/elisp/geiser-edit.el
+++ b/elisp/geiser-edit.el
@@ -88,7 +88,7 @@ or following links in error buffers.")
(regexp-opt '("define-syntaxes" "define-values")))
(defsubst geiser-edit--def-re (thing)
- (format "(%s *[( ]\\(%s\\_>[^)]*\\)[ )\n]"
+ (format "(%s *\\([( ]%s\\_>[^)]*[ )\n]\\)"
geiser-edit--def-re
(regexp-quote (format "%s" thing))))