summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--elisp/geiser-syntax.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/elisp/geiser-syntax.el b/elisp/geiser-syntax.el
index e22344e..709a9a5 100644
--- a/elisp/geiser-syntax.el
+++ b/elisp/geiser-syntax.el
@@ -200,8 +200,9 @@
(geiser-syntax--skip-comment/string)
(let* ((fst (symbol-at-point))
(path (and fst (list (list fst 0)))))
+ (when path (skip-syntax-backward "_w"))
(while (not (zerop (geiser-syntax--nesting-level)))
- (let ((boundary (1+ (point))))
+ (let ((boundary (point)))
(backward-up-list)
(let ((form
(nth-value 0 (geiser-syntax--form-after-point boundary))))