branch: elpa/gnuplot
commit d4a41b6dbacaab5107dbc60a30bb8c36b89b06d0
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    Rename customization option
---
 gnuplot.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/gnuplot.el b/gnuplot.el
index d0251a13fa..614b674810 100644
--- a/gnuplot.el
+++ b/gnuplot.el
@@ -240,7 +240,7 @@ non-nil."
   :initialize #'custom-initialize-default
   :set #'gnuplot--set-display-mode)
 
-(defcustom gnuplot-image-buffer-name "*gnuplot output*"
+(defcustom gnuplot-image-buffer "*gnuplot image*"
   "Buffer name for dedicated gnuplot image output."
   :type 'string)
 
@@ -1395,8 +1395,7 @@ updates Gnuplot with the appropriate \"set output\" 
command."
                       (insert "\n")
                       (gnuplot--inline-image-set-output))))
                 (dedicated
-                 (with-current-buffer
-                     (get-buffer-create gnuplot-image-buffer-name)
+                 (with-current-buffer (get-buffer-create gnuplot-image-buffer)
                    (let ((inhibit-read-only t))
                      (erase-buffer)
                      (insert-file-contents filename)

Reply via email to