diff options
| author | Richard M. Stallman | 1993-11-21 22:18:15 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-11-21 22:18:15 +0000 |
| commit | 3dbb573a0c14f16bc9b3f163179bc794c1fb7ff4 (patch) | |
| tree | 3f76ecac03e24e97eff769ff67bfdf787a350b07 | |
| parent | d895abb0ba66684e90d564a705598ee01df3f4d3 (diff) | |
| download | emacs-3dbb573a0c14f16bc9b3f163179bc794c1fb7ff4.tar.gz emacs-3dbb573a0c14f16bc9b3f163179bc794c1fb7ff4.zip | |
(mail-yank-original): Delete windows on selected frame only.
| -rw-r--r-- | lisp/mail/sendmail.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el index ddb671bf641..e90d46bb949 100644 --- a/lisp/mail/sendmail.el +++ b/lisp/mail/sendmail.el | |||
| @@ -670,7 +670,10 @@ and don't delete any header fields." | |||
| 670 | (interactive "P") | 670 | (interactive "P") |
| 671 | (if mail-reply-buffer | 671 | (if mail-reply-buffer |
| 672 | (let ((start (point))) | 672 | (let ((start (point))) |
| 673 | (delete-windows-on mail-reply-buffer) | 673 | ;; If the original message is in another window in the same frame, |
| 674 | ;; delete that window to save screen space. | ||
| 675 | ;; t means don't alter other frames. | ||
| 676 | (delete-windows-on mail-reply-buffer t) | ||
| 674 | (insert-buffer mail-reply-buffer) | 677 | (insert-buffer mail-reply-buffer) |
| 675 | (if (consp arg) | 678 | (if (consp arg) |
| 676 | nil | 679 | nil |