diff options
author | jao <jao@gnu.org> | 2022-10-16 03:25:28 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-10-16 03:25:28 +0100 |
commit | 1c03af209ee46da5e3922884934539648c06cac0 (patch) | |
tree | afd60574f2e92642b109b59e4f624a9c236e9c05 /elisp | |
parent | c437b1eca906f9c06eb5acef49f84bc4a87d2b8b (diff) | |
download | geiser-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')
-rw-r--r-- | elisp/geiser-edit.el | 2 |
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)))) |