Function: nnimap-command
nnimap-command is a byte-compiled function defined in nnimap.el.gz.
Signature
(nnimap-command &rest ARGS)
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/nnimap.el.gz
(defun nnimap-command (&rest args)
(erase-buffer)
(let* ((sequence (apply #'nnimap-send-command args))
(response (nnimap-get-response sequence)))
(if (equal (caar response) "OK")
(cons t response)
(nnheader-report 'nnimap "%s"
(mapconcat (lambda (a)
(format "%s" a))
(car response) " "))
nil)))