Function: gnuplot--close-down

gnuplot--close-down is a natively compiled function defined in gnuplot.el.

Signature

(gnuplot--close-down)

Documentation

Tidy up when deleting the gnuplot buffer.

Source Code

;; Defined in /nix/store/xvcy7r1jiw71avhnh6kmin403kpqrdhc-emacs-packages-deps/share/emacs/site-lisp/elpa/gnuplot-20260623.1111/gnuplot.el
(defun gnuplot--close-down ()
  "Tidy up when deleting the gnuplot buffer."
  (if (and gnuplot-process
           (eq (process-status gnuplot-process) 'run))
      (kill-process gnuplot-process))
  (setq gnuplot-process nil
        gnuplot-buffer nil))