diff options
Diffstat (limited to 'lisp/use-package')
-rw-r--r-- | lisp/use-package/use-package.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/use-package/use-package.el b/lisp/use-package/use-package.el index 97b6ab30351..d3ed84a4038 100644 --- a/lisp/use-package/use-package.el +++ b/lisp/use-package/use-package.el @@ -663,7 +663,7 @@ manually updated package." (defalias 'use-package-normalize/:bind* 'use-package-normalize-binder) (defun use-package-handler/:bind - (name keyword arg rest state &optional override) + (name keyword arg rest state &optional bind-macro) (let ((commands (remq nil (mapcar #'(lambda (arg) (if (listp arg) (cdr arg) @@ -673,10 +673,10 @@ manually updated package." (use-package-sort-keywords (use-package-plist-maybe-put rest :defer t)) (use-package-plist-append state :commands commands)) - `((ignore (,(if override 'bind-keys* 'bind-keys) ,@arg)))))) + `((ignore (,(if bind-macro bind-macro 'bind-keys) ,@arg)))))) (defun use-package-handler/:bind* (name keyword arg rest state) - (use-package-handler/:bind name keyword arg rest state t)) + (use-package-handler/:bind name keyword arg rest state 'bind-keys*)) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; |