summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfpi2018-04-14 18:06:01 +0200
committerfpi2018-04-14 18:06:01 +0200
commit8d7b2050bbdaf28991cd9d2e3506f0dcdc461b94 (patch)
treef3c3afe8e76bc3361f71915d73df4dbb3f36f166
parentCleaned up result value for blocks ending with gnuplot/wrdata/write (diff)
Fix vector variables
-rw-r--r--ob-spice.org2
1 files changed, 1 insertions, 1 deletions
diff --git a/ob-spice.org b/ob-spice.org
index 9ed10d7..30c47b9 100644
--- a/ob-spice.org
+++ b/ob-spice.org
@@ -371,7 +371,7 @@ Access with ~$x[0]~ or ~$x[2-len]~.
body)
(let ((replacement (nth
(string-to-number (match-string 1 body))
- (cadr pair))))
+ pair)))
(setq body(format "%s%s%s"
(substring body 0 (match-beginning
0))