Function: gnuplot-show-comint-buffer
gnuplot-show-comint-buffer is an interactive and natively compiled
function defined in gnuplot.el.
Signature
(gnuplot-show-comint-buffer)
Documentation
Switch to the buffer containing the gnuplot process.
When gnuplot-display-process is nil this will switch to
the gnuplot process buffer. When that variable is non-nil, the
gnuplot process buffer will be displayed in a window.
Key Bindings
gnuplot-mode-map C-c C-e
Source Code
;; Defined in /nix/store/xvcy7r1jiw71avhnh6kmin403kpqrdhc-emacs-packages-deps/share/emacs/site-lisp/elpa/gnuplot-20260623.1111/gnuplot.el
(defun gnuplot-show-comint-buffer ()
"Switch to the buffer containing the gnuplot process.
When `gnuplot-display-process' is nil this will switch to
the gnuplot process buffer. When that variable is non-nil, the
gnuplot process buffer will be displayed in a window."
(interactive)
(unless (and gnuplot-buffer (get-buffer gnuplot-buffer))
(gnuplot--make-comint-buffer))
(cond ((equal gnuplot-display-process 'window)
(switch-to-buffer-other-window gnuplot-buffer))
((equal gnuplot-display-process 'frame)
(or (frame-live-p gnuplot--process-frame)
(setq gnuplot--process-frame (make-frame)))
(raise-frame gnuplot--process-frame)
(select-frame gnuplot--process-frame)
(switch-to-buffer gnuplot-buffer))
(t
(switch-to-buffer gnuplot-buffer))))