Sams Teach Yourself Emacs in 24 Hours |  | ContentsIndex
Hour 12: Visible Editing Utilities |  | Previous HourNext Hour
Sections in this Hour: |  |  |  |

## Using a Visible Bell

When an error occurs in Emacs, the audio bell rings to draw your attention. This is to keep you from typing for half an hour before finding that no text is actually inserted. If, however, you look at your screen when typing (rather than on your keyboard), you might find the audio bell annoying and want Emacs to simply blink when an error occur. This is obtained by inserting the following line into your .emacs file:

    (setq visible-bell t)

Tip - To see how the visible bell works, add the previous line and press C-g a few times.

Sams Teach Yourself Emacs in 24 Hours |  | ContentsIndex
Hour 12: Visible Editing Utilities |  | Previous HourNext Hour
Sections in this Hour: |  |  |  |

© Copyright Macmillan USA. All rights reserved.