branch: elpa/gnuplot
commit e6dc1f6c5ea53782114027ef1f488461e470669b
Author: Dima Kogan <[email protected]>
Commit: Dima Kogan <[email protected]>
comint-process-echoes is buffer-local
Otherwise the setting in gnuplot-mode affects unrelated 'M-x shell' buffers
---
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