Function: mail-send-and-exit

mail-send-and-exit is an autoloaded, interactive and byte-compiled function defined in sendmail.el.gz.

Signature

(mail-send-and-exit &optional ARG)

Documentation

Send message like mail-send, then, if no errors, exit from mail buffer.

Prefix arg means don't delete this window.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/mail/sendmail.el.gz
;; User-level commands for sending.

;;;###autoload
(defun mail-send-and-exit (&optional arg)
  "Send message like `mail-send', then, if no errors, exit from mail buffer.
Prefix arg means don't delete this window."
  (interactive "P")
  (mail-send)
  (mail-bury arg))