Function: use-package-load-name
use-package-load-name is a byte-compiled function defined in
use-package-core.el.gz.
Signature
(use-package-load-name NAME &optional NOERROR)
Documentation
Return a form which will load or require NAME.
It does the right thing no matter if NAME is a string or symbol. Argument NOERROR means to indicate load failures as a warning.
Source Code
;; Defined in /usr/src/emacs/lisp/use-package/use-package-core.el.gz
(defsubst use-package-load-name (name &optional noerror)
"Return a form which will load or require NAME.
It does the right thing no matter if NAME is a string or symbol.
Argument NOERROR means to indicate load failures as a warning."
(if (stringp name)
`(load ,name ,noerror)
`(require ',name nil ,noerror)))