diff options
-rw-r--r-- | elisp/geiser-edit.el | 2 | ||||
-rw-r--r-- | elisp/geiser-racket.el | 2 |
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 |