aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussell Black2018-06-28 20:40:58 -0600
committerGitHub2018-06-28 20:40:58 -0600
commit38dcba687213f65682cbe1afaa60f779c8f5a0c3 (patch)
tree25797783bb1f98709006dfefbb4fa9def33301bc
parent1fb4198933c165de5e7ea63102739d075b043179 (diff)
downloademacs-38dcba687213f65682cbe1afaa60f779c8f5a0c3.tar.gz
emacs-38dcba687213f65682cbe1afaa60f779c8f5a0c3.zip
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.
-rw-r--r--lisp/use-package/use-package-chords.el2
1 files changed, 1 insertions, 1 deletions
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 @@
37 `(,(macroexpand 37 `(,(macroexpand
38 `(bind-chords :package ,name ,@arg))))) 38 `(bind-chords :package ,name ,@arg)))))
39 39
40(add-to-list 'use-package-keywords :chords t) 40(add-to-list 'use-package-keywords :chords)
41 41
42(provide 'use-package-chords) 42(provide 'use-package-chords)
43 43