diff options
| author | Richard M. Stallman | 1996-06-03 14:39:17 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-06-03 14:39:17 +0000 |
| commit | 4302ef50105ec50802937d1a0154b27260cfffda (patch) | |
| tree | ef608c561c367b509398f3d157d8b88dd9b8fcad | |
| parent | 8c72e56bc2d21db9bf808bbb642cb35194f20c1c (diff) | |
| download | emacs-4302ef50105ec50802937d1a0154b27260cfffda.tar.gz emacs-4302ef50105ec50802937d1a0154b27260cfffda.zip | |
(reporter-submit-bug-report):
Bind same-window-regexps, same-window-buffer-names, to nil.
| -rw-r--r-- | lisp/mail/reporter.el | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/lisp/mail/reporter.el b/lisp/mail/reporter.el index 53b9b1b7b6f..f941a29afde 100644 --- a/lisp/mail/reporter.el +++ b/lisp/mail/reporter.el | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | ;;; reporter.el --- customizable bug reporting of lisp programs | 1 | ;;; reporter.el --- customizable bug reporting of lisp programs |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1993 1994 Barry A. Warsaw | 3 | ;; Copyright (C) 1993, 1994 Free Software Foundation, Inc. |
| 4 | ;; Copyright (C) 1993 1994 Free Software Foundation, Inc. | ||
| 5 | 4 | ||
| 6 | ;; Author: 1993 Barry A. Warsaw <bwarsaw@cnri.reston.va.us> | 5 | ;; Author: 1993 Barry A. Warsaw <bwarsaw@cnri.reston.va.us> |
| 7 | ;; Maintainer: bwarsaw@cnri.reston.va.us | 6 | ;; Maintainer: bwarsaw@cnri.reston.va.us |
| @@ -334,7 +333,10 @@ composed.") | |||
| 334 | (problem (and reporter-prompt-for-summary-p | 333 | (problem (and reporter-prompt-for-summary-p |
| 335 | (read-string "(Very) brief summary of problem: "))) | 334 | (read-string "(Very) brief summary of problem: "))) |
| 336 | (mailbuf | 335 | (mailbuf |
| 337 | (progn | 336 | ;; Normally *mail* is directed to appear in the same window, |
| 337 | ;; but we don't want that to happen here. | ||
| 338 | (let (same-window-buffer-names | ||
| 339 | same-window-regexps) | ||
| 338 | (call-interactively | 340 | (call-interactively |
| 339 | (if (nlistp reporter-mailer) | 341 | (if (nlistp reporter-mailer) |
| 340 | reporter-mailer | 342 | reporter-mailer |
| @@ -352,8 +354,14 @@ composed.") | |||
| 352 | mailer))) | 354 | mailer))) |
| 353 | (current-buffer)))) | 355 | (current-buffer)))) |
| 354 | (require 'sendmail) | 356 | (require 'sendmail) |
| 355 | (pop-to-buffer mailbuf) | 357 | ;; If mailbuf did not get made visible before, |
| 356 | (display-buffer reporter-eval-buffer) | 358 | ;; make it visible now. |
| 359 | (let (same-window-buffer-names | ||
| 360 | same-window-regexps) | ||
| 361 | (pop-to-buffer mailbuf) | ||
| 362 | ;; Just in case the original buffer is not visible now, | ||
| 363 | ;; bring it back somewhere. | ||
| 364 | (display-buffer reporter-eval-buffer)) | ||
| 357 | (goto-char (point-min)) | 365 | (goto-char (point-min)) |
| 358 | ;; different mailers use different separators, some may not even | 366 | ;; different mailers use different separators, some may not even |
| 359 | ;; use m-h-s, but sendmail.el stuff must have m-h-s bound. | 367 | ;; use m-h-s, but sendmail.el stuff must have m-h-s bound. |