]> git.eshelyaron.com Git - emacs.git/commit
Fix echoing of replayed keys.
authorChong Yidong <cyd@gnu.org>
Sun, 6 Jan 2013 02:38:04 +0000 (10:38 +0800)
committerChong Yidong <cyd@gnu.org>
Sun, 6 Jan 2013 02:38:04 +0000 (10:38 +0800)
commit56ed110a17fc377f1d0a39eb3f01e4fd03a65709
tree829bb687376da76eb07b2983f8cf17ed6b6e327b
parent7a2657fa3bedbd977f4e11fe030cb4a210c04ab4
Fix echoing of replayed keys.

* keyboard.c (echo_add_char): New function, factored out from
echo_char.  Don't add a space if the previous echo string was
empty.
(echo_char): Use it.
(read_key_sequence): When echoing mock input, ensure that the
trailing dash is properly added.

Fixes: debbugs:13255
src/ChangeLog
src/keyboard.c