Function: erc-cmd-CLEARTOPIC

erc-cmd-CLEARTOPIC is an interactive and byte-compiled function defined in erc.el.gz.

Signature

(erc-cmd-CLEARTOPIC &optional CHANNEL)

Documentation

Clear the topic for a CHANNEL.

If CHANNEL is not specified, clear the topic for the default channel.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-cmd-CLEARTOPIC (&optional channel)
  "Clear the topic for a CHANNEL.
If CHANNEL is not specified, clear the topic for the default channel."
  (interactive "sClear topic of channel (RET is current channel): ")
  (let ((chnl (or (and (erc-channel-p channel) channel) (erc-default-target))))
    (when chnl
      (erc-server-send (format "TOPIC %s :" chnl))
      t)))