topic prefix ``version; ''.
+2007-08-17 Micha\e,Ak\e(Bl Cadilhac <michael@cadilhac.name>
+
+ * mail/emacsbug.el (report-emacs-bug): Remove the last number of
+ `emacs-version', use the topic prefix ``version; ''.
+
2007-08-17 T. V. Raman <raman@users.sf.net> (tiny change)
* completion.el (symbol-under-point, symbol-before-point)
(interactive (reverse (list (recent-keys) (read-string "Bug Subject: "))))
;; The syntax `version;' is preferred to `[version]' because the
;; latter could be mistakenly stripped by mailing software.
- (setq topic (concat "Bug: " emacs-version "; " topic))
+ (when (string-match "^\\(\\([.0-9]+\\)*\\)\\.[0-9]+$" emacs-version)
+ (setq topic (concat (match-string 1 emacs-version) "; " topic)))
;; If there are four numbers in emacs-version, this is a pretest
;; version.
(let* ((pretest-p (string-match "\\..*\\..*\\." emacs-version))