diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-09-26 22:38:21 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-09-26 22:38:21 +0200 |
commit | 6b7ee97c7f0b5fead386ad8101ad0fdf9412f710 (patch) | |
tree | 6f8c560408f7e04b74f58ddaad8c0790347c2b9d | |
parent | f2f267955c46d110da4c75a5972f021a2c715a6c (diff) | |
download | geiser-guile-6b7ee97c7f0b5fead386ad8101ad0fdf9412f710.tar.gz geiser-guile-6b7ee97c7f0b5fead386ad8101ad0fdf9412f710.tar.bz2 |
Internal fix: duplication of symbol at point in scan-sexps.
-rw-r--r-- | elisp/geiser-syntax.el | 3 |
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)))) |