Function: ghostel--ensure-module
ghostel--ensure-module is a natively compiled function defined in
ghostel-module-install.el.
Signature
(ghostel--ensure-module DIR)
Documentation
Ensure the native module exists in DIR.
Behavior is controlled by ghostel-module-auto-install.
Source Code
;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel-module-install.el
(defun ghostel--ensure-module (dir)
"Ensure the native module exists in DIR.
Behavior is controlled by `ghostel-module-auto-install'."
(let ((action ghostel-module-auto-install))
(when (eq action 'ask)
(setq action (ghostel--ask-install-action dir)))
(pcase action
('download (ghostel--download-module dir))
('compile (ghostel--compile-module dir))
(_ nil))))