Function: ghostel--line-mode-effective-capfs
ghostel--line-mode-effective-capfs is a natively compiled function
defined in ghostel-line-mode.el.
Signature
(ghostel--line-mode-effective-capfs)
Documentation
Return the capf list used by ghostel-line-mode-complete-at-point.
Starts from ghostel-line-mode-completion-at-point-functions and
prepends bash-completion-capf-nonexclusive when bash-completion
integration is enabled and available.
Source Code
;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel-line-mode.el
(defun ghostel--line-mode-effective-capfs ()
"Return the capf list used by `ghostel-line-mode-complete-at-point'.
Starts from `ghostel-line-mode-completion-at-point-functions' and
prepends `bash-completion-capf-nonexclusive' when bash-completion
integration is enabled and available."
(let ((funs (copy-sequence
ghostel-line-mode-completion-at-point-functions)))
(when (and (ghostel--line-mode-bash-completion-available-p)
(not (memq #'bash-completion-capf-nonexclusive funs)))
(push #'bash-completion-capf-nonexclusive funs))
funs))