From: Noam Postavsky Date: Mon, 7 Sep 2015 02:28:50 +0000 (-0400) Subject: use-package-as-string: use noerror parameter X-Git-Tag: emacs-29.0.90~1306^2~15^2~292^2~1 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=71057bc20f2170f2a1250caa949201297dfa8dde;p=emacs.git use-package-as-string: use noerror parameter --- diff --git a/lisp/use-package/use-package.el b/lisp/use-package/use-package.el index ffe2dac3e46..dd1e3426993 100644 --- a/lisp/use-package/use-package.el +++ b/lisp/use-package/use-package.el @@ -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."