Correcting arguments passed to open-input-text-editor.
svn: r10496
This commit is contained in:
parent
0e42c65d3b
commit
8024601262
|
@ -24,7 +24,7 @@
|
||||||
(get-source-name txt) line col pos 1)))
|
(get-source-name txt) line col pos 1)))
|
||||||
(let* ([source-name (get-source-name text)]
|
(let* ([source-name (get-source-name text)]
|
||||||
[stx (read-syntax source-name
|
[stx (read-syntax source-name
|
||||||
(open-input-text-editor text 0 (send text last-position) source-name))])
|
(open-input-text-editor text 0 'end values source-name))])
|
||||||
(when (eof-object? stx)
|
(when (eof-object? stx)
|
||||||
(raise-read-error
|
(raise-read-error
|
||||||
(if splice?
|
(if splice?
|
||||||
|
|
Loading…
Reference in New Issue
Block a user