Function: imap-logout

imap-logout is a byte-compiled function defined in imap.el.gz.

Signature

(imap-logout &optional BUFFER)

Source Code

;; Defined in /usr/src/emacs/lisp/net/imap.el.gz
(defun imap-logout (&optional buffer)
  (or buffer (setq buffer (current-buffer)))
  (if imap-logout-timeout
      (with-timeout (imap-logout-timeout
		     (condition-case nil
			 (with-current-buffer buffer
			   (delete-process imap-process))
		       (error)))
	(imap-send-command "LOGOUT" buffer))
    (imap-send-command "LOGOUT" buffer)))