Function: rmail-swap-buffers-maybe

rmail-swap-buffers-maybe is a byte-compiled function defined in rmail.el.gz.

Signature

(rmail-swap-buffers-maybe)

Documentation

Determine if the Rmail buffer is showing a message.

If so restore the actual mbox message collection.

Source Code

;; Defined in /usr/src/emacs/lisp/mail/rmail.el.gz
(defun rmail-swap-buffers-maybe ()
  "Determine if the Rmail buffer is showing a message.
If so restore the actual mbox message collection."
  (with-current-buffer rmail-buffer
    (when (rmail-buffers-swapped-p)
      (rmail-swap-buffers)
      (setq rmail-buffer-swapped nil))))