Function: octave-kill-process
octave-kill-process is an interactive and byte-compiled function
defined in octave.el.gz.
Signature
(octave-kill-process)
Documentation
Kill inferior Octave process and its buffer.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/octave.el.gz
;;; Communication with the inferior Octave process
(defun octave-kill-process ()
"Kill inferior Octave process and its buffer."
(interactive)
(when (and (buffer-live-p (get-buffer inferior-octave-buffer))
(or (yes-or-no-p (format "Kill %S and its buffer? "
inferior-octave-process))
(user-error "Aborted")))
(when (inferior-octave-process-live-p)
(set-process-query-on-exit-flag inferior-octave-process nil)
(process-send-string inferior-octave-process "quit;\n")
(accept-process-output inferior-octave-process))
(kill-buffer inferior-octave-buffer)))