Function: hypb:require-package

hypb:require-package is an autoloaded and byte-compiled function defined in hypb.el.

Signature

(hypb:require-package PACKAGE)

Documentation

Prompt user to install, if necessary, and require the Emacs PACKAGE.

PACKAGE may be a symbol or a string.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260822.1645/hypb.el
;;;###autoload
(defun hypb:require-package (package)
  "Prompt user to install, if necessary, and require the Emacs PACKAGE.
PACKAGE may be a symbol or a string."
  (when (stringp package)
    (setq package (intern package)))
  (unless (symbolp package)
    (error "(hypb:require-package): package must be a symbol or string, not '%s'" package))
  (unless (hypb:ensure-dependency package)
    (error "(hypb:require-package): package '%s' could not be found" package)))