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)))))