summaryrefslogtreecommitdiff
path: root/elisp/geiser-syntax.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2009-02-11 20:56:58 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2009-02-11 20:56:58 +0100
commitf7dc963dd7c6df1490ff792b6a45bd8f8ffea71e (patch)
treea8d491b7736f208e5b65e429f44d7c3e91926faa /elisp/geiser-syntax.el
parent1a9da365fc52aa15300e03bb14aa4af5b9f47c6a (diff)
downloadgeiser-guile-f7dc963dd7c6df1490ff792b6a45bd8f8ffea71e.tar.gz
geiser-guile-f7dc963dd7c6df1490ff792b6a45bd8f8ffea71e.tar.bz2
Don't let (ice-9 history) confuse the evaluator.
Diffstat (limited to 'elisp/geiser-syntax.el')
-rw-r--r--elisp/geiser-syntax.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/elisp/geiser-syntax.el b/elisp/geiser-syntax.el
index 32b28bb..2199cc5 100644
--- a/elisp/geiser-syntax.el
+++ b/elisp/geiser-syntax.el
@@ -93,7 +93,10 @@
(goto-char (point-min))
(while (re-search-forward "#(" nil t) (replace-match "(vector "))
(goto-char (point-min))
- (while (re-search-forward "#" nil t) (replace-match "\\\\#")))
+ (while (re-search-forward "#" nil t) (replace-match "\\\\#"))
+ (goto-char (point-min))
+ (skip-syntax-forward "^("))
+)