From: David Vázquez Date: Fri, 3 May 2013 10:41:31 +0000 (+0100) Subject: Fix several newly introduced bugs in the migration to mutable strings X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=b4f81895de2164b4f362c3050b74a45c1f5069e2;p=jscl.git Fix several newly introduced bugs in the migration to mutable strings --- diff --git a/jscl.html b/jscl.html index 1dfe7fc..0fde9fc 100644 --- a/jscl.html +++ b/jscl.html @@ -71,26 +71,26 @@ jqconsole.RegisterMatching('(', ')', 'parents'); lisp.write = function(str){ - jqconsole.Write(str, 'jqconsole-output', false); + jqconsole.Write(xstring(str), 'jqconsole-output', false); return str; } var startPrompt = function () { // Start the prompt with history enabled. - jqconsole.Write(lisp.evalString(pv, 1, make_lisp_string('(CL:PACKAGE-NAME CL:*PACKAGE*)')) + '> ', 'jqconsole-prompt'); + jqconsole.Write(xstring(lisp.evalString(pv, 1, make_lisp_string('(CL:PACKAGE-NAME CL:*PACKAGE*)'))) + '> ', 'jqconsole-prompt'); jqconsole.Prompt(true, function (input) { // Output input with the class jqconsole-return. if (input[0] != ','){ try { var vs = lisp.evalInput(mv, 1, make_lisp_string(input)); for (var i=0; i>>") + (test (= (eval '(+ 1 2)) 3))