]> code.delx.au - gnu-emacs-elpa/commit
Allow binding heads to "%"
authorOleh Krehel <ohwoeowho@gmail.com>
Sat, 18 Jul 2015 16:20:23 +0000 (18:20 +0200)
committerOleh Krehel <ohwoeowho@gmail.com>
Sat, 18 Jul 2015 16:20:23 +0000 (18:20 +0200)
commitc8b4749e851e78d9b09d084d6fed4b2fd1a51301
tree0c90617dfb6af23323184a462f6096132f5ac3f9
parentadc29975ae4955b9175a12d44417018831a3dc55
Allow binding heads to "%"

* hydra.el (hydra--format): Update regex. Make sure that there's a
  proper amount of escapes for %, since:

- it first gets evaled via `hydra-test/hint'
- it gets passed to `lv-message'

So to get 1 in the end, the initial amount can be 4.

* hydra-test.el (hydra-format-7): Add tests.
hydra-test.el
hydra.el