]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't macroexpand bind-keys, leave that to the evaluator
authorJohn Wiegley <johnw@newartisans.com>
Fri, 1 Dec 2017 08:45:43 +0000 (00:45 -0800)
committerJohn Wiegley <johnw@newartisans.com>
Fri, 1 Dec 2017 08:45:43 +0000 (00:45 -0800)
lisp/use-package/use-package.el

index 044d79d4a957ea561b81295f94799b6c9a2ea15a..c6c83f7e3d28fd7d4a5f68edd0aebf3704e65ed2 100644 (file)
@@ -1097,9 +1097,8 @@ representing symbols (that may need to be autloaded)."
         (use-package-plist-maybe-put rest :defer t))
        (use-package-plist-append state :commands commands))
      `((ignore
-        ,(macroexpand
-          `(,(if bind-macro bind-macro 'bind-keys)
-            :package ,name ,@nargs)))))))
+        (,(if bind-macro bind-macro 'bind-keys)
+         :package ,name ,@nargs))))))
 
 (defun use-package-handler/:bind* (name keyword arg rest state)
   (use-package-handler/:bind name keyword arg rest state 'bind-keys*))