Function: erc-sound-disable
erc-sound-disable is an interactive and byte-compiled function defined
in erc-sound.el.gz.
Signature
(erc-sound-disable)
Documentation
Disable ERC sound mode.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-sound.el.gz
;;;###autoload(put 'ctcp-sound 'erc--module 'sound)
;;;###autoload(autoload 'erc-sound-mode "erc-sound")
(define-erc-module sound ctcp-sound
"In ERC sound mode, the client will respond to CTCP SOUND requests
and play sound files as requested."
;; Enable:
((add-hook 'erc-ctcp-query-SOUND-hook #'erc-ctcp-query-SOUND)
(define-key erc-mode-map "\C-c\C-s" #'erc-toggle-sound))
;; Disable:
((remove-hook 'erc-ctcp-query-SOUND-hook #'erc-ctcp-query-SOUND)
(define-key erc-mode-map "\C-c\C-s" #'undefined)))