mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-04 19:29:37 +00:00
use-package-as-string: use noerror parameter
This commit is contained in:
parent
be7a0e4649
commit
71057bc20f
1 changed files with 2 additions and 2 deletions
|
@ -212,8 +212,8 @@ convert it to a string and return that."
|
|||
"Return a form which will load or require NAME depending on
|
||||
whether it's a string or symbol."
|
||||
(if (stringp name)
|
||||
`(load ,name 'noerror)
|
||||
`(require ',name nil 'noerror)))
|
||||
`(load ,name ',noerror)
|
||||
`(require ',name nil ',noerror)))
|
||||
|
||||
(defun use-package-expand (name label form)
|
||||
"FORM is a list of forms, so `((foo))' if only `foo' is being called."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue