guide: I test the LOCAL feedgnuplot, not the installed one

This commit is contained in:
Dima Kogan 2021-02-20 19:30:47 -08:00
parent 5a608b72b9
commit 940d862a4a

View File

@ -80,6 +80,12 @@
(when (dima-org-babel-is-feedgnuplot params)
(with-temp-buffer
(insert body)
;; use the local feedgnuplot
(beginning-of-buffer)
(re-search-forward "\\_<feedgnuplot\\_>")
(backward-word-strictly)
(insert "../bin/")
;; write to svg
(end-of-buffer)
(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)))))