Mercurial > emacs
changeset 2505:c0a13d078f68
* keyboard.c (echo_dash): Do nothing if echoptr is 0.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Sat, 10 Apr 1993 07:45:07 +0000 |
parents | 181eef669324 |
children | aba562e560f0 |
files | src/keyboard.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/keyboard.c Sat Apr 10 06:21:55 1993 +0000 +++ b/src/keyboard.c Sat Apr 10 07:45:07 1993 +0000 @@ -521,6 +521,9 @@ { if (!immediate_echo && echoptr == echobuf) return; + /* Do nothing if not echoing at all. */ + if (echoptr == 0) + return; /* Put a dash at the end of the buffer temporarily, but make it go away when the next character is added. */