Function: hypb:package-el-install
hypb:package-el-install is a byte-compiled function defined in
hypb.el.
Signature
(hypb:package-el-install PACKAGE)
Documentation
Install PACKAGE symbol using the default package manager package.el.
If hypb:ask-to-install-package-flag is non-nil query user if package should be installed.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20261018.1143/hypb.el
(defun hypb:package-el-install (package)
"Install PACKAGE symbol using the default package manager `package.el'.
If `hypb:ask-to-install-package-flag' is non-nil query user if package should
be installed."
(when (or (not hypb:ask-to-install-package-flag)
(y-or-n-p (format "Install `%s' to enable this feature? " package)))
(let ((compatible-version (hypb:package-compatible package)))
(when (stringp compatible-version)
(error "(hypb:package-el-install): Required package %S not found and cannot be installed in Emacs %s; requires Emacs %s"
package emacs-version compatible-version)))
(package-install package)
(require package)))