From ebd2cd9b23138a39ad9ea4b517934c93757c2b4d Mon Sep 17 00:00:00 2001 From: Mario Frasca Date: Sun, 2 Nov 2014 08:50:47 -0500 Subject: [PATCH 1/2] do not kill the gnuplot process. just jump to end of buffer and rely on command to do the resetting job. --- lisp/org-plot.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/org-plot.el b/lisp/org-plot.el index 556b9ef..69d9250 100644 --- a/lisp/org-plot.el +++ b/lisp/org-plot.el @@ -281,8 +281,7 @@ line directly before or after the table." (delete-other-windows) (when (get-buffer "*gnuplot*") ;; reset *gnuplot* if it already running (with-current-buffer "*gnuplot*" - (goto-char (point-max)) - (gnuplot-delchar-or-maybe-eof nil))) + (goto-char (point-max)))) (org-plot/goto-nearest-table) ;; set default options (mapc -- 1.9.1