Function: nntp-copy-to-buffer

nntp-copy-to-buffer is a byte-compiled function defined in nntp.el.gz.

Signature

(nntp-copy-to-buffer BUFFER START END)

Documentation

Copy string from unibyte current buffer to multibyte buffer.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/nntp.el.gz
(defsubst nntp-copy-to-buffer (buffer start end)
  "Copy string from unibyte current buffer to multibyte buffer."
  (let ((string (buffer-substring start end)))
     (with-current-buffer buffer
       (erase-buffer)
       (insert string)
       (goto-char (point-min))
       nil)))