Commit 0b0ef30f authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

*** empty log message ***

parent 9ef8b0d6
......@@ -194,9 +194,13 @@ Prefix arg means don't delete this window."
(interactive "P")
(mail-send)
(bury-buffer (current-buffer))
(if (or (one-window-p) arg)
(switch-to-buffer (other-buffer (current-buffer)))
(delete-window)))
(if (and (not arg)
(not (one-window-p))
(save-excursion
(set-buffer (window-buffer (next-window (selected-window) 'not)))
(eq major-mode 'rmail-mode)))
(delete-window)
(switch-to-buffer (other-buffer (current-buffer)))))
(defun mail-send ()
"Send the message in the current buffer.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment