Function: ghostel--line-mode-bash-completion-available-p

ghostel--line-mode-bash-completion-available-p is a natively compiled function defined in ghostel-line-mode.el.

Signature

(ghostel--line-mode-bash-completion-available-p)

Documentation

Return non-nil when bash-completion should be used for line-mode TAB.

Honours ghostel-line-mode-use-bash-completion: loads the package when set to t, attempts a soft load when set to auto, returns nil otherwise.

Source Code

;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel-line-mode.el
(defun ghostel--line-mode-bash-completion-available-p ()
  "Return non-nil when bash-completion should be used for line-mode TAB.
Honours `ghostel-line-mode-use-bash-completion': loads the package
when set to t, attempts a soft load when set to `auto', returns nil
otherwise."
  (pcase ghostel-line-mode-use-bash-completion
    ('nil nil)
    ('auto (require 'bash-completion nil 'noerror))
    (_ (require 'bash-completion))))