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

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

[nongnu] elpa/gnuplot 48a8cd34c1 09/11: gnuplot-recently-sent: Use defva


From: ELPA Syncer
Subject: [nongnu] elpa/gnuplot 48a8cd34c1 09/11: gnuplot-recently-sent: Use defvar-local
Date: Sun, 2 Jan 2022 11:58:19 -0500 (EST)

branch: elpa/gnuplot
commit 48a8cd34c1e6f4e66a9a249d58fa337b13e8e220
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    gnuplot-recently-sent: Use defvar-local
---
 gnuplot.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gnuplot.el b/gnuplot.el
index 1e5aa0af62..b15563186a 100644
--- a/gnuplot.el
+++ b/gnuplot.el
@@ -185,11 +185,10 @@ for backward compatibility."
   :group 'gnuplot-hooks
   :type 'hook)
 
-(defvar gnuplot-recently-sent nil
+(defvar-local gnuplot-recently-sent nil
   "This is a record of the most recent kind of text sent to gnuplot.
 It takes as its value nil, 'line, 'region, 'buffer, or 'file.  It is
 useful for functions included in `gnuplot-after-plot-hook'.")
-(make-variable-buffer-local 'gnuplot-recently-sent)
 
 (defcustom gnuplot-program "gnuplot"
   "The name of the gnuplot executable."



reply via email to

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