guide elisp is more robust

The feedgnuplot command is no longer required to sit at the end of the command
string (here-doc data broke it previously)
This commit is contained in:
Dima Kogan 2021-07-22 17:49:15 -07:00
parent a965d9f2ec
commit a020a38931

View File

@ -86,7 +86,7 @@
(backward-word-strictly) (backward-word-strictly)
(insert "../bin/") (insert "../bin/")
;; write to svg ;; write to svg
(end-of-buffer) (forward-word-strictly)
(insert (format " --terminal 'svg noenhanced solid size 800,600 font \",14\"' --hardcopy %s" (cdr (assq :file params)))) (insert (format " --terminal 'svg noenhanced solid size 800,600 font \",14\"' --hardcopy %s" (cdr (assq :file params))))
(setq body (buffer-substring-no-properties (point-min) (point-max))))) (setq body (buffer-substring-no-properties (point-min) (point-max)))))
(funcall f body params)) (funcall f body params))