Function: rcirc-markup-fill
rcirc-markup-fill is a byte-compiled function defined in rcirc.el.gz.
Signature
(rcirc-markup-fill SENDER RESPONSE)
Documentation
Fill messages as configured by rcirc-fill-column.
MOTD messages are not filled (as indicated by RESPONSE).
Source Code
;; Defined in /usr/src/emacs/lisp/net/rcirc.el.gz
(defun rcirc-markup-fill (_sender response)
"Fill messages as configured by `rcirc-fill-column'.
MOTD messages are not filled (as indicated by RESPONSE)."
(when (not (string= response "372")) ; /motd
(let ((fill-prefix
(or rcirc-fill-prefix
(make-string (- (point) (line-beginning-position)) ?\s)))
(fill-column (- (cond ((null rcirc-fill-column) fill-column)
((functionp rcirc-fill-column)
(funcall rcirc-fill-column))
(t rcirc-fill-column))
;; make sure ... doesn't cause line wrapping
3)))
(fill-region (point) (point-max) nil t))))