summaryrefslogtreecommitdiff
path: root/elisp
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2009-09-26 22:38:21 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2009-09-26 22:38:21 +0200
commit6b7ee97c7f0b5fead386ad8101ad0fdf9412f710 (patch)
tree6f8c560408f7e04b74f58ddaad8c0790347c2b9d /elisp
parentf2f267955c46d110da4c75a5972f021a2c715a6c (diff)
downloadgeiser-chez-6b7ee97c7f0b5fead386ad8101ad0fdf9412f710.tar.gz
geiser-chez-6b7ee97c7f0b5fead386ad8101ad0fdf9412f710.tar.bz2
Internal fix: duplication of symbol at point in scan-sexps.
Diffstat (limited to 'elisp')
-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))))