Function: beep
beep is a for ding, defined in dispnew.c.
Signature
(beep &optional ARG)
Documentation
Beep, or flash the screen.
Also, unless an argument is given, terminate any keyboard macro currently executing.
Probably introduced at or before Emacs version 19.20.