]> git.eshelyaron.com Git - emacs.git/commit
allow string values in cons for :bind keywords
authorJustin Talbott <justin@waymondo.com>
Fri, 8 Jan 2016 19:35:17 +0000 (14:35 -0500)
committerJustin Talbott <justin@waymondo.com>
Fri, 8 Jan 2016 19:35:17 +0000 (14:35 -0500)
commitcd867dfe2f21aa1397016d7c441a3d6c90f36672
tree9acc0a9fc22384acb6182d3856141828a52b0dc1
parent95038f96f1e715022a5ca5ffbb12fc9a4fa8a252
allow string values in cons for :bind keywords

It is possible with `bind-key` and `define-key` (and also `bind-chord`
and `key-chord-define`) to define a binding to a string's value, i.e:

``` elisp
(bind-key "C-;" "the ")
(bind-chord "^^" "λ")
```

This adds an option for `(use-package-normalize-pairs)` that allows
string values to be given with the `:bind` (and also `:chord`) keywords
to expand into these definitions.
lisp/use-package/use-package.el