summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--elisp/geiser-syntax.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/elisp/geiser-syntax.el b/elisp/geiser-syntax.el
index 5e45470..5f109cf 100644
--- a/elisp/geiser-syntax.el
+++ b/elisp/geiser-syntax.el
@@ -58,7 +58,7 @@
(cond ((nth 3 (syntax-ppss))
(skip-syntax-forward "^\"")
(forward-char))
- ((= sc 5) (forward-char))
+ ((and (= sc 5) (eq ?\( (char-before))) (forward-char))
((not (or (= sc 0) (= sc 12))) ;; comment, whitespace
(ignore-errors (forward-sexp))))
(point)))