File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1303,7 +1303,7 @@ buffer."
13031303(defun gnuplot--make-comint-buffer ()
13041304 " Switch to the gnuplot program buffer or create one if none exists."
13051305 (unless (and gnuplot-process (eq (process-status gnuplot-process) 'run )
1306- gnuplot-buffer (buffer-live-p gnuplot-buffer))
1306+ (buffer-live-p gnuplot-buffer))
13071307 (setq gnuplot-buffer (apply #'make-comint gnuplot-process-name gnuplot-program nil
13081308 (and gnuplot-program-args (split-string gnuplot-program-args)))
13091309 gnuplot-process (get-buffer-process gnuplot-buffer))
@@ -1417,8 +1417,7 @@ gnuplot process buffer will be displayed in a window."
14171417
14181418(defun gnuplot--setup-comint-for-image-mode ()
14191419 " Setup comint for image."
1420- (when (and gnuplot-buffer (buffer-live-p gnuplot-buffer)
1421- (get-buffer-process gnuplot-buffer))
1420+ (when (and (buffer-live-p gnuplot-buffer) (get-buffer-process gnuplot-buffer))
14221421 (with-current-buffer gnuplot-buffer
14231422 (if gnuplot-inline-image-mode
14241423 (progn
You can’t perform that action at this time.
0 commit comments