Function: nnimap-send-command
nnimap-send-command is a byte-compiled function defined in
nnimap.el.gz.
Signature
(nnimap-send-command &rest ARGS)
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/nnimap.el.gz
(defun nnimap-send-command (&rest args)
(setf (nnimap-last-command-time nnimap-object) (current-time))
(process-send-string
(get-buffer-process (current-buffer))
(nnimap-log-command
(format "%d %s%s\n"
(cl-incf nnimap-sequence)
(apply #'format args)
(if (nnimap-newlinep nnimap-object)
""
"\r"))))
;; Some servers apparently can't have many outstanding
;; commands, so throttle them.
(unless nnimap-streaming
(nnimap-wait-for-response nnimap-sequence))
nnimap-sequence)