Mercurial > emacs
diff src/keyboard.c @ 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 | 49e894e9561d |
children | 2a13ec10bfd7 |
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. */