Skip to content

Commit d4a41b6

Browse files
committed
Rename customization option
1 parent ca27533 commit d4a41b6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

gnuplot.el

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ non-nil."
240240
:initialize #'custom-initialize-default
241241
:set #'gnuplot--set-display-mode)
242242

243-
(defcustom gnuplot-image-buffer-name "*gnuplot output*"
243+
(defcustom gnuplot-image-buffer "*gnuplot image*"
244244
"Buffer name for dedicated gnuplot image output."
245245
:type 'string)
246246

@@ -1395,8 +1395,7 @@ updates Gnuplot with the appropriate \"set output\" command."
13951395
(insert "\n")
13961396
(gnuplot--inline-image-set-output))))
13971397
(dedicated
1398-
(with-current-buffer
1399-
(get-buffer-create gnuplot-image-buffer-name)
1398+
(with-current-buffer (get-buffer-create gnuplot-image-buffer)
14001399
(let ((inhibit-read-only t))
14011400
(erase-buffer)
14021401
(insert-file-contents filename)

0 commit comments

Comments
 (0)