Skip to content

Commit 48a8cd3

Browse files
committed
gnuplot-recently-sent: Use defvar-local
1 parent 58a3ae8 commit 48a8cd3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

gnuplot.el

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,11 +185,10 @@ for backward compatibility."
185185
:group 'gnuplot-hooks
186186
:type 'hook)
187187

188-
(defvar gnuplot-recently-sent nil
188+
(defvar-local gnuplot-recently-sent nil
189189
"This is a record of the most recent kind of text sent to gnuplot.
190190
It takes as its value nil, 'line, 'region, 'buffer, or 'file. It is
191191
useful for functions included in `gnuplot-after-plot-hook'.")
192-
(make-variable-buffer-local 'gnuplot-recently-sent)
193192

194193
(defcustom gnuplot-program "gnuplot"
195194
"The name of the gnuplot executable."

0 commit comments

Comments
 (0)