Permalink
Browse files

Fix #32 discard input after digit-argument.

  • Loading branch information...
uk-ar committed Dec 4, 2013
1 parent 70d947d commit 8e788920e9e5f85f28f83b7a67e1b4cabcefda4d
Showing with 7 additions and 1 deletion.
  1. +3 −1 key-combo.el
  2. +4 −0 test/key-combo-test.el
View
@@ -480,7 +480,9 @@ which in most cases is shared with all other buffers in the same major mode.
;; no key combo
)
)
(reset-this-command-lengths)
(unless prefix-arg
(reset-this-command-lengths)
)
)
)
View
@@ -326,6 +326,10 @@
(context "execute"
(it ()
(should (string= (key-combo-test-helper-execute ">") ">")))
(it ()
(should (string= (key-combo-test-helper-execute "C-u 3 >") ">>>")))
(it ()
(should (string= (key-combo-test-helper-execute "M-3 >") ">>>")))
(it ()
(should (string= (key-combo-test-helper-execute "=") "="))))
(context "no execute"

0 comments on commit 8e78892

Please sign in to comment.