diff options
| author | Richard M. Stallman | 1996-03-17 15:32:00 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-03-17 15:32:00 +0000 |
| commit | a85a468e07d9ec4fb14a493f7dd2e561ba62dbcf (patch) | |
| tree | fe6b450101ab1fe32416e53ac4bce3b2b967ebbb | |
| parent | 36990caa7dadd67acccd181ad76d87b9889e95c6 (diff) | |
| download | emacs-a85a468e07d9ec4fb14a493f7dd2e561ba62dbcf.tar.gz emacs-a85a468e07d9ec4fb14a493f7dd2e561ba62dbcf.zip | |
(report-emacs-bug): Use a different address for pretest versions.
| -rw-r--r-- | lisp/mail/emacsbug.el | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el index 520763e245a..2f2a991419b 100644 --- a/lisp/mail/emacsbug.el +++ b/lisp/mail/emacsbug.el | |||
| @@ -38,7 +38,10 @@ | |||
| 38 | (require 'sendmail) | 38 | (require 'sendmail) |
| 39 | 39 | ||
| 40 | (defvar bug-gnu-emacs "bug-gnu-emacs@prep.ai.mit.edu" | 40 | (defvar bug-gnu-emacs "bug-gnu-emacs@prep.ai.mit.edu" |
| 41 | "Address of site maintaining mailing list for GNU Emacs bugs.") | 41 | "Address of mailing list for GNU Emacs bugs.") |
| 42 | |||
| 43 | (defvar report-emacs-bug-pretest-address "emacs-pretest-bug@gnu.ai.mit.edu" | ||
| 44 | "Address of mailing list for GNU Emacs pretest bugs.") | ||
| 42 | 45 | ||
| 43 | (defvar report-emacs-bug-orig-text nil | 46 | (defvar report-emacs-bug-orig-text nil |
| 44 | "The automatically-created initial text of bug report.") | 47 | "The automatically-created initial text of bug report.") |
| @@ -48,7 +51,13 @@ | |||
| 48 | "Report a bug in GNU Emacs. | 51 | "Report a bug in GNU Emacs. |
| 49 | Prompts for bug subject. Leaves you in a mail buffer." | 52 | Prompts for bug subject. Leaves you in a mail buffer." |
| 50 | (interactive "sBug Subject: ") | 53 | (interactive "sBug Subject: ") |
| 51 | (if (mail nil bug-gnu-emacs topic) | 54 | (if (mail nil |
| 55 | (if (string-match "\\..*\\..*\\." emacs-version) | ||
| 56 | ;; If there are four numbers in emacs-version, | ||
| 57 | ;; this is a pretest version. | ||
| 58 | report-emacs-bug-pretest-address | ||
| 59 | bug-gnu-emacs) | ||
| 60 | topic) | ||
| 52 | (let (user-point) | 61 | (let (user-point) |
| 53 | ;; The rest of this does not execute | 62 | ;; The rest of this does not execute |
| 54 | ;; if the user was asked to confirm and said no. | 63 | ;; if the user was asked to confirm and said no. |