Function: nnheader-insert
nnheader-insert is a byte-compiled function defined in nnheader.el.gz.
Signature
(nnheader-insert FORMAT &rest ARGS)
Documentation
Clear the communication buffer and insert FORMAT and ARGS into the buffer.
If FORMAT isn't a format string, it and all ARGS will be inserted without formatting.
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/nnheader.el.gz
(defun nnheader-insert (format &rest args)
"Clear the communication buffer and insert FORMAT and ARGS into the buffer.
If FORMAT isn't a format string, it and all ARGS will be inserted
without formatting."
(with-current-buffer nntp-server-buffer
(erase-buffer)
(if (string-search "%" format)
(insert (apply #'format format args))
(apply #'insert format args))
t))