aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichaël Cadilhac2007-08-17 10:10:11 +0000
committerMichaël Cadilhac2007-08-17 10:10:11 +0000
commit30cc206bf35a1b3bf76753bee1c06c390de4f1a4 (patch)
tree09580278c7bdf8fe818616958955fcbc5b32ce88
parente8953ebf985f5a1e8033c56f07f0a47ab3beb089 (diff)
downloademacs-30cc206bf35a1b3bf76753bee1c06c390de4f1a4.tar.gz
emacs-30cc206bf35a1b3bf76753bee1c06c390de4f1a4.zip
(report-emacs-bug): Remove the last number of `emacs-version', use the
topic prefix ``version; ''.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/mail/emacsbug.el3
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 974b1a62f63..b169be42fb1 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12007-08-17 Micha,Ak(Bl Cadilhac <michael@cadilhac.name>
2
3 * mail/emacsbug.el (report-emacs-bug): Remove the last number of
4 `emacs-version', use the topic prefix ``version; ''.
5
12007-08-17 T. V. Raman <raman@users.sf.net> (tiny change) 62007-08-17 T. V. Raman <raman@users.sf.net> (tiny change)
2 7
3 * completion.el (symbol-under-point, symbol-before-point) 8 * completion.el (symbol-under-point, symbol-before-point)
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el
index 8a11dc90cc4..89ac6dea0bb 100644
--- a/lisp/mail/emacsbug.el
+++ b/lisp/mail/emacsbug.el
@@ -75,7 +75,8 @@ Prompts for bug subject. Leaves you in a mail buffer."
75 (interactive (reverse (list (recent-keys) (read-string "Bug Subject: ")))) 75 (interactive (reverse (list (recent-keys) (read-string "Bug Subject: "))))
76 ;; The syntax `version;' is preferred to `[version]' because the 76 ;; The syntax `version;' is preferred to `[version]' because the
77 ;; latter could be mistakenly stripped by mailing software. 77 ;; latter could be mistakenly stripped by mailing software.
78 (setq topic (concat "Bug: " emacs-version "; " topic)) 78 (when (string-match "^\\(\\([.0-9]+\\)*\\)\\.[0-9]+$" emacs-version)
79 (setq topic (concat (match-string 1 emacs-version) "; " topic)))
79 ;; If there are four numbers in emacs-version, this is a pretest 80 ;; If there are four numbers in emacs-version, this is a pretest
80 ;; version. 81 ;; version.
81 (let* ((pretest-p (string-match "\\..*\\..*\\." emacs-version)) 82 (let* ((pretest-p (string-match "\\..*\\..*\\." emacs-version))