Function: rmail-no-mail-p

rmail-no-mail-p is a byte-compiled function defined in rmail.el.gz.

Signature

(rmail-no-mail-p)

Documentation

Return nil if there is mail, else "No mail.".

Source Code

;; Defined in /usr/src/emacs/lisp/mail/rmail.el.gz
(defun rmail-no-mail-p ()
  "Return nil if there is mail, else \"No mail.\"."
  (if (zerop rmail-total-messages)
      (save-excursion
	;; Eg we deleted all the messages, so remove the old N/M mark.
	(with-current-buffer rmail-buffer (setq mode-line-process nil))
	(with-current-buffer rmail-view-buffer
	  (erase-buffer)
	  "No mail."))))