summaryrefslogtreecommitdiff
path: root/elisp/geiser-syntax.el
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
commit9de90a715a4bf32d1c7206eefcfb5dfd9962635d (patch)
treeec263496c2e58ed317c2504b97fa93dea4bc38a6 /elisp/geiser-syntax.el
parent09de995336a20bbc986b77f5f4ce417225842b64 (diff)
downloadgeiser-9de90a715a4bf32d1c7206eefcfb5dfd9962635d.tar.gz
geiser-9de90a715a4bf32d1c7206eefcfb5dfd9962635d.tar.bz2
Internal fix: duplication of symbol at point in scan-sexps.
Diffstat (limited to 'elisp/geiser-syntax.el')
-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))))