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
commit561be1fb1fa00bfbffbca1fc7d53aa93abb4d4ac (patch)
tree867015deb477d991659961f1ccbfa0b4b8c99917 /elisp/geiser-syntax.el
parent522f145191e37d18fb7173e2aab5f3dc9fa6148f (diff)
downloadgeiser-561be1fb1fa00bfbffbca1fc7d53aa93abb4d4ac.tar.gz
geiser-561be1fb1fa00bfbffbca1fc7d53aa93abb4d4ac.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)))