common-lisp.net
/
users/crhodes/swankr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
c0cf8f5
)
fix swank-media repl-result-maker for complex
author
Christophe Rhodes
<csr21@cantab.net>
Sun, 23 Oct 2011 09:50:16 +0000 (10:50 +0100)
committer
Christophe Rhodes
<csr21@cantab.net>
Sun, 23 Oct 2011 09:50:16 +0000 (10:50 +0100)
There ought to be some way of catching this mistake, which is passing
a non-length-1 vector to the swank functions, which then vectorise and
confuse the event stream.
swank-media.R
patch
|
blob
|
blame
|
history
diff --git
a/swank-media.R
b/swank-media.R
index
1d7071d
..
59f7d77
100644
(file)
--- a/
swank-media.R
+++ b/
swank-media.R
@@
-30,7
+30,7
@@
makeMediaReplResult.numeric <- function(value) {
list(quote(`:write-string`), string, quote(`:repl-result`))
}
makeMediaReplResult.complex <- function(value) {
- string <- deparse(value)
+ string <- paste(deparse(value), sep="", collapse="\n")
list(quote(`:write-string`), string, quote(`:repl-result`))
}