diff options
| author | Richard M. Stallman | 1994-05-24 19:50:04 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-05-24 19:50:04 +0000 |
| commit | fcea9cd4dbb9cc0a7a6e84498f703d686b860edd (patch) | |
| tree | d96c01f3934deda35261ea597888ca6919e64c78 /src/msdos.c | |
| parent | 9da6e7653b350c4b6ae674786b408aa42b667616 (diff) | |
| download | emacs-fcea9cd4dbb9cc0a7a6e84498f703d686b860edd.tar.gz emacs-fcea9cd4dbb9cc0a7a6e84498f703d686b860edd.zip | |
(do_visible_bell): Renamed from visible_bell to avoid
potential conflict with variable of the same name. Caller changed.
(internal_flush): Code for audio bell inserted.
Diffstat (limited to 'src/msdos.c')
| -rw-r--r-- | src/msdos.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/msdos.c b/src/msdos.c index 19da6103676..58733b418aa 100644 --- a/src/msdos.c +++ b/src/msdos.c | |||
| @@ -764,7 +764,7 @@ init_environment (argc, argv, skip_args) | |||
| 764 | static unsigned char _xorattr; | 764 | static unsigned char _xorattr; |
| 765 | 765 | ||
| 766 | static void | 766 | static void |
| 767 | visible_bell (xorattr) | 767 | do_visible_bell (xorattr) |
| 768 | unsigned char xorattr; | 768 | unsigned char xorattr; |
| 769 | { | 769 | { |
| 770 | _xorattr = xorattr; | 770 | _xorattr = xorattr; |
| @@ -843,7 +843,7 @@ internal_flush (f) | |||
| 843 | count -= 3; | 843 | count -= 3; |
| 844 | break; | 844 | break; |
| 845 | case 'B': | 845 | case 'B': |
| 846 | visible_bell (*cp++); | 846 | do_visible_bell (*cp++); |
| 847 | count -= 3; | 847 | count -= 3; |
| 848 | break; | 848 | break; |
| 849 | case 'C': | 849 | case 'C': |
| @@ -872,6 +872,10 @@ internal_flush (f) | |||
| 872 | count -= 2; | 872 | count -= 2; |
| 873 | } | 873 | } |
| 874 | break; | 874 | break; |
| 875 | case 7: | ||
| 876 | write (1, "\007", 1); | ||
| 877 | count--; | ||
| 878 | break; | ||
| 875 | case 8: | 879 | case 8: |
| 876 | x--; | 880 | x--; |
| 877 | count--; | 881 | count--; |