From d746989d33372dfc3da7d788378c542d3c56f819 Mon Sep 17 00:00:00 2001 From: fpi Date: Sun, 29 May 2022 16:58:21 +0200 Subject: Add hardcopy to file-returning commands --- ob-spice.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)))) -- cgit v1.2.3