4

My echo area blinks whenever I move the cursor up to end-of-buffer or beginning of buffer:

enter image description here

This happens even when I comment out everything in my .emacs file. Where does this feature come from and how do I remove it?

Dan
  • 32,584
  • 6
  • 98
  • 168
Perry
  • 171
  • 9

1 Answers1

6

You probably have the variable visible-bell set to a non-nil value (have a look at the manual node on Beeping for more information). Here's the docstring:

Documentation: Non-nil means try to flash the frame to represent a bell.

See also ring-bell-function.

You can customize this variable.

You may also wish to set the ring-bell-function. Here's its docstring:

Documentation: Non-nil means call this function to ring the bell. The function should accept no arguments.

Put the following in your init file, which should eliminate the visible bell issues. The first is probably sufficient, but you may wish to eliminate the bell entirely (I know I do), which is why the second part is in there.

(setq visible-bell       nil
      ring-bell-function #'ignore)
Dan
  • 32,584
  • 6
  • 98
  • 168