Function: ding

ding is a function defined in dispnew.c.

Signature

(ding &optional ARG)

Documentation

Beep, or flash the screen.

Also, unless an argument is given, terminate any keyboard macro currently executing.

View in manual

Probably introduced at or before Emacs version 18.

Aliases

beep

Source Code

// Defined in /usr/src/emacs/src/dispnew.c
{
  if (!NILP (arg))
    {
      if (noninteractive)
	putchar (07);
      else
	ring_bell (XFRAME (selected_frame));
    }
  else
    bitch_at_user ();

  return Qnil;
}