Re-add the notion of echo_prompt lost in the translation
commit944d77f070da388b0c6e6578a9f868e88c088940
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 3 Sep 2015 20:02:28 +0000 (3 16:02 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 3 Sep 2015 20:02:28 +0000 (3 16:02 -0400)
tree4b4525adbe8894560768e37214f9f82816fbd574
parentc624ab229bdcefb42e4b81ff613e53c982f58cc1
Re-add the notion of echo_prompt lost in the translation

* src/keyboard.h (struct kboard): Replace echo_after_prompt with new
echo_prompt which contains the actual string.  Update all uses.

* src/keyboard.c (kset_echo_prompt): New function.
(echo_update): Add echo_prompt at the very beginning.
(read_char): Remove workaround for bug#19875, not needed any more.
(read_key_sequence): Set echo_prompt rather than echo_string (bug#21403).
(mark_kboards): Mark echo_prompt.
src/keyboard.c
src/keyboard.h