Function: shell-filter-ring-bell

shell-filter-ring-bell is a byte-compiled function defined in shell.el.gz.

Signature

(shell-filter-ring-bell STRING)

Documentation

Call ding if STRING contains a "^G" character.

This function can be put on comint-output-filter-functions.

Source Code

;; Defined in /usr/src/emacs/lisp/shell.el.gz
(defun shell-filter-ring-bell (string)
  "Call `ding' if STRING contains a \"^G\" character.
This function can be put on `comint-output-filter-functions'."
  (when (string-search "\a" string)
    (ding))
  string)