From a020a38931fe06752fbbd17f65d87b5a1e0bb89e Mon Sep 17 00:00:00 2001 From: Dima Kogan Date: Thu, 22 Jul 2021 17:49:15 -0700 Subject: [PATCH] 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) --- guide/.dir-locals.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/.dir-locals.el b/guide/.dir-locals.el index 3c0e2d2..c6260d9 100644 --- a/guide/.dir-locals.el +++ b/guide/.dir-locals.el @@ -86,7 +86,7 @@ (backward-word-strictly) (insert "../bin/") ;; 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)))) (setq body (buffer-substring-no-properties (point-min) (point-max))))) (funcall f body params))