diff options
author | Glenn Morris <rgm@gnu.org> | 2017-02-17 20:15:21 -0500 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2017-02-17 20:15:21 -0500 |
commit | 22b2207471807bda86534b4faf1a29b3a6447536 (patch) | |
tree | 79f65cff576fe028b6556fc2763579a36610d7e7 /lisp/mail/emacsbug.el | |
parent | 8675f9c8b8a002530d0c4e0263bb3d4cf3a649fa (diff) | |
download | emacs-22b2207471807bda86534b4faf1a29b3a6447536.tar.gz emacs-22b2207471807bda86534b4faf1a29b3a6447536.tar.bz2 emacs-22b2207471807bda86534b4faf1a29b3a6447536.zip |
Remove the build number from emacs-version variable
It's a largely internal detail that can confuse users. (Bug#25590)
* lisp/version.el (emacs-build-number): New constant.
(emacs-version): Use emacs-build-number.
* lisp/loadup.el (top-level): When dumping, increment
emacs-build-number rather than emacs-version.
* src/emacs.c (emacs-version): Doc fix.
* doc/lispref/intro.texi (Version Info): Update emacs-version details.
Mention emacs-build-number.
* lisp/gnus/gnus-util.el (gnus-emacs-version):
* lisp/mail/emacsbug.el (report-emacs-bug):
* admin/admin.el (set-version): Update for emacs-version change.
; * etc/NEWS: Mention this.
Diffstat (limited to 'lisp/mail/emacsbug.el')
-rw-r--r-- | lisp/mail/emacsbug.el | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el index c8214c35108..ecb7db60ae1 100644 --- a/lisp/mail/emacsbug.el +++ b/lisp/mail/emacsbug.el @@ -151,10 +151,7 @@ Prompts for bug subject. Leaves you in a mail buffer." (interactive "sBug Subject: ") ;; The syntax `version;' is preferred to `[version]' because the ;; latter could be mistakenly stripped by mailing software. - (if (eq system-type 'ms-dos) - (setq topic (concat emacs-version "; " topic)) - (when (string-match "^\\(\\([.0-9]+\\)*\\)\\.[0-9]+$" emacs-version) - (setq topic (concat (match-string 1 emacs-version) "; " topic)))) + (setq topic (concat emacs-version "; " topic)) (let ((from-buffer (current-buffer)) (can-insert-mail (or (report-emacs-bug-can-use-xdg-email) (report-emacs-bug-can-use-osx-open))) |