Function: erc-dcc-chat-parse-output
erc-dcc-chat-parse-output is a byte-compiled function defined in
erc-dcc.el.gz.
Signature
(erc-dcc-chat-parse-output PROC STR)
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-dcc.el.gz
(defun erc-dcc-chat-parse-output (proc str)
(save-match-data
(let ((posn 0)
line)
(while (string-match "\n" str posn)
(setq line (substring str posn (match-beginning 0)))
(setq posn (match-end 0))
(erc-display-message
nil nil proc
'dcc-chat-privmsg ?n (propertize erc-dcc-from 'font-lock-face
'erc-nick-default-face) ?m line))
(setq erc-dcc-unprocessed-output (substring str posn)))))