Variable: ghostel-query-before-killing

ghostel-query-before-killing is a customizable variable defined in ghostel.el.

Value

auto

Documentation

Confirm before killing a live ghostel buffer or on save-buffers-kill-emacs.

t Always query while the terminal process is alive.
nil Never query.
auto Query only while a shell command is running. Requires OSC 133 shell
       integration: at a prompt confirmation is skipped, and it is enabled
       between the OSC 133 C (command start) and D (command finish) markers.

Source Code

;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel.el
(defcustom ghostel-query-before-killing 'auto
  "Confirm before killing a live ghostel buffer or on `save-buffers-kill-emacs'.

t      Always query while the terminal process is alive.
nil    Never query.
auto   Query only while a shell command is running.  Requires OSC 133 shell
       integration: at a prompt confirmation is skipped, and it is enabled
       between the OSC 133 C (command start) and D (command finish) markers."
  :type '(choice (const :tag "Always" t)
                 (const :tag "Never" nil)
                 (const :tag "While a command is running" auto)))