summaryrefslogtreecommitdiff
path: root/elisp
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-09-12 01:59:24 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-09-12 01:59:24 +0200
commitf67278cd012fd9a0dd9c830f2d66966ebfacc55d (patch)
tree9ed0d6bca5661a808b48e2a26a16490f8039b6c6 /elisp
parent5a2b4648fc9c4212fe19e8794fc2b15230710b95 (diff)
downloadgeiser-chez-f67278cd012fd9a0dd9c830f2d66966ebfacc55d.tar.gz
geiser-chez-f67278cd012fd9a0dd9c830f2d66966ebfacc55d.tar.bz2
Couple nits
Diffstat (limited to 'elisp')
-rw-r--r--elisp/geiser-edit.el2
-rw-r--r--elisp/geiser-racket.el2
2 files changed, 2 insertions, 2 deletions
diff --git a/elisp/geiser-edit.el b/elisp/geiser-edit.el
index 08eab53..df36a93 100644
--- a/elisp/geiser-edit.el
+++ b/elisp/geiser-edit.el
@@ -156,7 +156,7 @@ or following links in error buffers.")
(match-string 2)
(match-string 3)
'window)
- (unless no-fill (fill-region (match-beginning 0) (point-at-eol)))))))
+ (unless no-fill (fill-region (match-end 0) (point-at-eol)))))))
(defun geiser-edit--open-next (&optional n reset)
(interactive)
diff --git a/elisp/geiser-racket.el b/elisp/geiser-racket.el
index 3d164f1..28c576a 100644
--- a/elisp/geiser-racket.el
+++ b/elisp/geiser-racket.el
@@ -180,7 +180,7 @@ This function uses `geiser-racket-init-file' if it exists."
"module: \"\\([^>\"\n]+\\)\""))
(defconst geiser-racket--geiser-file-rx
- "^/[^:\n\"]*/geiser/[^:\n\"]*:")
+ (format "^%s/?racket/geiser" (regexp-quote geiser-scheme-dir)))
(defun geiser-racket--purge-trace ()
(save-excursion