]> git.eshelyaron.com Git - emacs.git/commitdiff
(do_visible_bell): Renamed from visible_bell to avoid
authorRichard M. Stallman <rms@gnu.org>
Tue, 24 May 1994 19:50:04 +0000 (19:50 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 24 May 1994 19:50:04 +0000 (19:50 +0000)
potential conflict with variable of the same name.  Caller changed.
(internal_flush): Code for audio bell inserted.

src/msdos.c

index 19da6103676366ad8e8147875746f9ca59f4fb84..58733b418aa956b1f40bf4e65033594942ec1dd8 100644 (file)
@@ -764,7 +764,7 @@ init_environment (argc, argv, skip_args)
 static unsigned char _xorattr;
 
 static void
-visible_bell (xorattr)
+do_visible_bell (xorattr)
      unsigned char xorattr;
 {
   _xorattr = xorattr;
@@ -843,7 +843,7 @@ internal_flush (f)
                  count -= 3;
                  break;
                case 'B':
-                 visible_bell (*cp++);
+                 do_visible_bell (*cp++);
                  count -= 3;
                  break;
                case 'C':
@@ -872,6 +872,10 @@ internal_flush (f)
                  count -= 2;
                }
              break;
+           case 7:
+             write (1, "\007", 1);
+             count--;
+             break;
            case 8:
              x--;
              count--;