]> git.eshelyaron.com Git - emacs.git/commitdiff
use-package-as-string: use noerror parameter
authorNoam Postavsky <npostavs@gmail.com>
Mon, 7 Sep 2015 02:28:50 +0000 (22:28 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Mon, 18 Jul 2016 02:27:13 +0000 (22:27 -0400)
lisp/use-package/use-package.el

index ffe2dac3e46f9919834c7d7470d6b58eaec344dd..dd1e3426993e73d96c908ad8fe15cf09b01b62a2 100644 (file)
@@ -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."