diff options
| author | Richard M. Stallman | 1997-04-29 02:07:02 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-04-29 02:07:02 +0000 |
| commit | b5f019be9033d9952bb3c29d6fa6342ad709fc6e (patch) | |
| tree | 657e59c6ebcac536c7a4b3cd430a4ad47e920f1c | |
| parent | fa667173483407232be9ec259e4ec9fff34e8745 (diff) | |
| download | emacs-b5f019be9033d9952bb3c29d6fa6342ad709fc6e.tar.gz emacs-b5f019be9033d9952bb3c29d6fa6342ad709fc6e.zip | |
(compose-mail): Make prefix arg mean "continue".
(compose-mail-other-window, compose-mail-other-frame): New commands.
| -rw-r--r-- | lisp/simple.el | 20 |
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 | ||
| 2984 | SEND-ACTIONS is a list of actions to call when the message is sent. | 2984 | SEND-ACTIONS is a list of actions to call when the message is sent. |
| 2985 | Each action has the form (FUNCTION . ARGS)." | 2985 | Each 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. |