Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
2504:181eef669324 | 2505:c0a13d078f68 |
---|---|
518 empty, so that it serves as a mini-prompt for the very next character. */ | 518 empty, so that it serves as a mini-prompt for the very next character. */ |
519 | 519 |
520 echo_dash () | 520 echo_dash () |
521 { | 521 { |
522 if (!immediate_echo && echoptr == echobuf) | 522 if (!immediate_echo && echoptr == echobuf) |
523 return; | |
524 /* Do nothing if not echoing at all. */ | |
525 if (echoptr == 0) | |
523 return; | 526 return; |
524 | 527 |
525 /* Put a dash at the end of the buffer temporarily, | 528 /* Put a dash at the end of the buffer temporarily, |
526 but make it go away when the next character is added. */ | 529 but make it go away when the next character is added. */ |
527 echoptr[0] = '-'; | 530 echoptr[0] = '-'; |