From 940d862a4a899b97f40de7aeace12de554023857 Mon Sep 17 00:00:00 2001 From: Dima Kogan Date: Sat, 20 Feb 2021 19:30:47 -0800 Subject: [PATCH] guide: I test the LOCAL feedgnuplot, not the installed one --- guide/.dir-locals.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/guide/.dir-locals.el b/guide/.dir-locals.el index 45c7f8c..3c0e2d2 100644 --- a/guide/.dir-locals.el +++ b/guide/.dir-locals.el @@ -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 "\\_") + (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)))))