emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/gnuplot e6dc1f6 164/184: comint-process-echoes is buffer-l


From: ELPA Syncer
Subject: [nongnu] elpa/gnuplot e6dc1f6 164/184: comint-process-echoes is buffer-local
Date: Sun, 29 Aug 2021 11:03:36 -0400 (EDT)

branch: elpa/gnuplot
commit e6dc1f6c5ea53782114027ef1f488461e470669b
Author: Dima Kogan <dima@secretsauce.net>
Commit: Dima Kogan <dima@secretsauce.net>

    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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]