From 38dcba687213f65682cbe1afaa60f779c8f5a0c3 Mon Sep 17 00:00:00 2001 From: Russell Black Date: Thu, 28 Jun 2018 20:40:58 -0600 Subject: [PATCH] Place :chords at beginning of use-package-keywords When it is at the end, the keys don't get bound until after the package has been loaded, which is bad. Placing it at the beginning allows the key bindings to be mapped to auto-loaded functions before the package is loaded, so that a key chord press triggers the package load. --- lisp/use-package/use-package-chords.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/use-package/use-package-chords.el b/lisp/use-package/use-package-chords.el index 478759d10c3..909056fbebe 100644 --- a/lisp/use-package/use-package-chords.el +++ b/lisp/use-package/use-package-chords.el @@ -37,7 +37,7 @@ `(,(macroexpand `(bind-chords :package ,name ,@arg))))) -(add-to-list 'use-package-keywords :chords t) +(add-to-list 'use-package-keywords :chords) (provide 'use-package-chords) -- 2.39.2