Function: nntp-async-wait

nntp-async-wait is a byte-compiled function defined in nntp.el.gz.

Signature

(nntp-async-wait PROCESS WAIT-FOR BUFFER DECODE CALLBACK)

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/nntp.el.gz
(defun nntp-async-wait (process wait-for buffer decode callback)
  (with-current-buffer (process-buffer process)
    (unless nntp-inside-change-function
      (erase-buffer))
    (setq nntp-process-wait-for wait-for
	  nntp-process-to-buffer buffer
	  nntp-process-decode decode
	  nntp-process-callback callback
	  nntp-process-start-point (point-max))
    ;; FIXME: We should use add-hook/remove-hook here!
    (setq after-change-functions (list #'nntp-after-change-function))))