Function: rmail-bury
rmail-bury is an interactive and byte-compiled function defined in
rmail.el.gz.
Signature
(rmail-bury)
Documentation
Bury current Rmail buffer and its summary buffer.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/mail/rmail.el.gz
(defun rmail-bury ()
"Bury current Rmail buffer and its summary buffer."
(interactive)
;; This let var was called rmail-buffer, but that interfered
;; with the buffer-local var used in summary buffers.
(if (rmail-summary-exists)
(let (window)
(while (setq window (get-buffer-window rmail-summary-buffer))
(quit-window nil window))
(bury-buffer rmail-summary-buffer)))
(quit-window))