Function: rcirc-handler-332

rcirc-handler-332 is a byte-compiled function defined in rcirc.el.gz.

Signature

(rcirc-handler-332 PROCESS SENDER ARGS TEXT)

Documentation

Update topic when notified by server (RPL_TOPIC).

ARGS should have the form (CHANNEL TOPIC). PROCESS is the process object for the current connection.

Source Code

;; Defined in /usr/src/emacs/lisp/net/rcirc.el.gz
(defun rcirc-handler-332 (process _sender args _text)
  "Update topic when notified by server (RPL_TOPIC).
ARGS should have the form (CHANNEL TOPIC).
PROCESS is the process object for the current connection."
  (let ((buffer (or (rcirc-get-buffer process (cadr args))
		    (rcirc-get-temp-buffer-create process (cadr args)))))
    (with-current-buffer buffer
      (setq rcirc-topic (nth 2 args)))))