summaryrefslogtreecommitdiff
path: root/elisp/geiser-syntax.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2009-02-10 01:24:45 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2009-02-10 01:24:45 +0100
commit8b2b6e02b5a7ceaf7b6f91dd302a42141c4ade8a (patch)
tree4b2d13f9a780d49f97665311ae31957b710a64c1 /elisp/geiser-syntax.el
parent052e7fb476f018e1426e1bd9394d4fe63db33f45 (diff)
downloadgeiser-guile-8b2b6e02b5a7ceaf7b6f91dd302a42141c4ade8a.tar.gz
geiser-guile-8b2b6e02b5a7ceaf7b6f91dd302a42141c4ade8a.tar.bz2
Small fix for '() argument position reporting.
Diffstat (limited to 'elisp/geiser-syntax.el')
-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)))