mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
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.
This commit is contained in:
parent
8675f9c8b8
commit
22b2207471
8 changed files with 38 additions and 23 deletions
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue