]> code.delx.au - gnu-emacs-elpa/commit
Use a variable instead of a function for the hint
authorOleh Krehel <ohwoeowho@gmail.com>
Sat, 11 Apr 2015 16:37:09 +0000 (18:37 +0200)
committerOleh Krehel <ohwoeowho@gmail.com>
Sat, 11 Apr 2015 16:37:09 +0000 (18:37 +0200)
commit0ae639f7bc3b7ef72bd5f6fcc57f89be8bdd9d37
treeef15f5d4463fe21867e9aeabad8863a0fc5a4a87
parent19cc1be6ffbe16a6c6b86ec202ffc83e614e451b
Use a variable instead of a function for the hint

* hydra.el (hydra--message): Remove.
(hydra--make-defun): Update.
(defhydra): Replace "defun foo/hint" with "defvar foo/hint".

This will allow to dynamically modify the hint in the future.

* hydra-test.el: Update tests.
hydra-test.el
hydra.el