]> code.delx.au - gnu-emacs-elpa/commit
Properly closes #469: Don't use `yas--init-minor-keymap'
authorJoão Távora <joaotavora@gmail.com>
Thu, 13 Mar 2014 20:24:11 +0000 (20:24 +0000)
committerJoão Távora <joaotavora@gmail.com>
Thu, 13 Mar 2014 20:29:06 +0000 (20:29 +0000)
commitb36a4f7449f61d22942fc188884f3314bb7fec35
tree7ae35b8e8d1e79973f7782bd5770edb06a3af739
parentd809e886e0034f6130f077c80356a143aff3752c
Properly closes #469: Don't use `yas--init-minor-keymap'

Previous reverted commit 498cbe4 forgot to take into account that one
of the tests used the `yas--init-minor-keymap' function that was
removed.

* yasnippet.el (yas-use-menu): Don't allow `nil' value, it's
useless.
(yas--minor-mode-menu): Use top-level `easy-menu-define' form.
(yas--init-minor-keymap): Remove definition.

* yasnippet-tests.el (test-rebindings): Don't use
`yas--init-minor-keymap'. Restore bindings explicitly. Not ideal,
but should work.
yasnippet-tests.el
yasnippet.el