Function: ghostel--kill-emacs-query

ghostel--kill-emacs-query is a natively compiled function defined in ghostel.el.

Signature

(ghostel--kill-emacs-query)

Documentation

Return non-nil when no ghostel buffer objects to Emacs exiting.

Source Code

;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel.el
(defun ghostel--kill-emacs-query ()
  "Return non-nil when no ghostel buffer objects to Emacs exiting."
  (let ((names (mapcan (lambda (b)
                         (and (with-current-buffer b (ghostel--query-before-killing-p))
                              (list (buffer-name b))))
                       (ghostel-buffer-list))))
    (or (null names)
        (yes-or-no-p (format "Ghostel buffers with running processes (%s); exit anyway? "
                             (string-join names ", "))))))