Christophe Weblog Wiki Code Publications Music
fix one multiple-string bug in the inspector
authorChristophe Rhodes <csr21@cantab.net>
Thu, 9 Sep 2010 23:12:52 +0000 (00:12 +0100)
committerChristophe Rhodes <csr21@cantab.net>
Thu, 9 Sep 2010 23:12:52 +0000 (00:12 +0100)
swank.R

diff --git a/swank.R b/swank.R
index ff22caa..d72103f 100644 (file)
--- a/swank.R
+++ b/swank.R
@@ -491,7 +491,7 @@ inspectObject <- function(slimeConnection, object) {
 
 valuePart <- function(istate, object, string) {
   list(quote(`:value`),
-       if(is.null(string)) printToString(object) else string,
+       if(is.null(string)) paste(printToString(object),collapse=" ") else string,
        assignIndexInParts(object, istate))
 }