aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/simple.el20
1 files changed, 19 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 540d2f2f76f..92da208797a 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -2983,10 +2983,28 @@ original text has been inserted in this way.)
2983 2983
2984SEND-ACTIONS is a list of actions to call when the message is sent. 2984SEND-ACTIONS is a list of actions to call when the message is sent.
2985Each action has the form (FUNCTION . ARGS)." 2985Each action has the form (FUNCTION . ARGS)."
2986 (interactive) 2986 (interactive
2987 (list nil nil nil current-prefix-arg))
2987 (let ((function (get mail-user-agent 'composefunc))) 2988 (let ((function (get mail-user-agent 'composefunc)))
2988 (funcall function to subject other-headers continue 2989 (funcall function to subject other-headers continue
2989 switch-function yank-action send-actions))) 2990 switch-function yank-action send-actions)))
2991
2992(defun compose-mail-other-window (&optional to subject other-headers continue
2993 yank-action send-actions)
2994 "Like \\[compose-mail], but edit the outgoing message in another window."
2995 (interactive
2996 (list nil nil nil current-prefix-arg))
2997 (compose-mail to subject other-headers continue
2998 'switch-to-buffer-other-window yank-action send-actions))
2999
3000
3001(defun compose-mail-other-frame (&optional to subject other-headers continue
3002 yank-action send-actions)
3003 "Like \\[compose-mail], but edit the outgoing message in another frame."
3004 (interactive
3005 (list nil nil nil current-prefix-arg))
3006 (compose-mail to subject other-headers continue
3007 'switch-to-buffer-other-frame yank-action send-actions))
2990 3008
2991(defun set-variable (var val) 3009(defun set-variable (var val)
2992 "Set VARIABLE to VALUE. VALUE is a Lisp object. 3010 "Set VARIABLE to VALUE. VALUE is a Lisp object.