Function: ghostel--line-mode-maybe-prespawn-bash-completion
ghostel--line-mode-maybe-prespawn-bash-completion is a natively
compiled function defined in ghostel-line-mode.el.
Signature
(ghostel--line-mode-maybe-prespawn-bash-completion)
Documentation
Spawn the bash-completion subprocess eagerly when configured.
Honours ghostel-line-mode-bash-completion-prespawn. No-op when
the option is nil, when bash-completion is unavailable, or when
the subprocess is already running (the bash-completion entry
point is idempotent).
Source Code
;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel-line-mode.el
(defun ghostel--line-mode-maybe-prespawn-bash-completion ()
"Spawn the bash-completion subprocess eagerly when configured.
Honours `ghostel-line-mode-bash-completion-prespawn'. No-op when
the option is nil, when bash-completion is unavailable, or when
the subprocess is already running (the bash-completion entry
point is idempotent)."
(when (and ghostel-line-mode-bash-completion-prespawn
(ghostel--line-mode-bash-completion-available-p)
(fboundp 'bash-completion-require-process))
(ignore-errors (bash-completion-require-process))))