summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ob-spice.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/ob-spice.el b/ob-spice.el
index ea8bb62..95b5732 100644
--- a/ob-spice.el
+++ b/ob-spice.el
@@ -242,7 +242,7 @@ Commands that write to files return the filename."
(type (substring result 0 index))
(arg (replace-regexp-in-string "^ *[^ ]* \\([^ ]*\\).*" "\\1" result)))
(pcase type
- ((or "wrdata" "write") arg)
+ ((or "wrdata" "write" "hardcopy") arg)
("gnuplot" (format "%s.png" arg))
("echo" (split-string (substring result (+ index 1)) ","))
(_ result))))