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."
1303
1303
(defun gnuplot--make-comint-buffer ()
1304
1304
" Switch to the gnuplot program buffer or create one if none exists."
1305
1305
(unless (and gnuplot-process (eq (process-status gnuplot-process) 'run )
1306
- gnuplot-buffer (buffer-live-p gnuplot-buffer))
1306
+ (buffer-live-p gnuplot-buffer))
1307
1307
(setq gnuplot-buffer (apply #'make-comint gnuplot-process-name gnuplot-program nil
1308
1308
(and gnuplot-program-args (split-string gnuplot-program-args)))
1309
1309
gnuplot-process (get-buffer-process gnuplot-buffer))
@@ -1417,8 +1417,7 @@ gnuplot process buffer will be displayed in a window."
1417
1417
1418
1418
(defun gnuplot--setup-comint-for-image-mode ()
1419
1419
" 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))
1422
1421
(with-current-buffer gnuplot-buffer
1423
1422
(if gnuplot-inline-image-mode
1424
1423
(progn
You can’t perform that action at this time.
0 commit comments