branch: elpa/gnuplot
commit f73abe1de92e0c6659ac206d3fb2e0572faeb7ba
Merge: f0001c3 e6dc1f6
Author: Maxime TrĂ©ca <[email protected]>
Commit: GitHub <[email protected]>

    Merge pull request #57 from dkogan/fix-comint-process-echoes
    
    Make comint-process-echoes buffer-local
---
 gnuplot.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnuplot.el b/gnuplot.el
index b6fe49e..f0a5556 100644
--- a/gnuplot.el
+++ b/gnuplot.el
@@ -3207,8 +3207,8 @@ a list:
           (require 'gnuplot-gui)
         (error nil)))
   (setq gnuplot-first-call nil          ; a few more details ...
-        gnuplot-comint-recent-buffer (current-buffer)
-        comint-process-echoes        gnuplot-echo-command-line-flag)
+        gnuplot-comint-recent-buffer (current-buffer))
+  (setq-local comint-process-echoes gnuplot-echo-command-line-flag)
   (run-hooks 'gnuplot-mode-hook)
   ;; the first time we need to figure out which gnuplot we are running
   (if gnuplot-program-version

Reply via email to