Function: rcirc-cmd-topic

rcirc-cmd-topic is an interactive and byte-compiled function defined in rcirc.el.gz.

Signature

(rcirc-cmd-topic ARGLIST &optional PROCESS TARGET)

Documentation

List TOPIC for the TARGET channel.

With a prefix arg, prompt for new topic.

Note: If PROCESS or TARGET are nil, the values given by rcirc-buffer-process and rcirc-target will be used.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/net/rcirc.el.gz
(rcirc-define-command topic (topic)
  "List TOPIC for the TARGET channel.
With a prefix arg, prompt for new topic."
  (interactive (list (and current-prefix-arg
                          (read-string "List names in channel: "))))
  (if (> (length topic) 0)
      (rcirc-send-string process "TOPIC" target : topic)
    (rcirc-send-string process "TOPIC" target)))