diff options
| author | Michael Albinus | 2018-11-10 16:03:12 +0100 |
|---|---|---|
| committer | Michael Albinus | 2018-11-10 16:03:12 +0100 |
| commit | a062fc4137ff195fe269076cda07a61c2e1a8012 (patch) | |
| tree | c1ca66b9f322fd9db69baaa1e0c47444931527d7 /doc | |
| parent | 55f3f21b39389263d707b091d7e1b45d295a149c (diff) | |
| download | emacs-a062fc4137ff195fe269076cda07a61c2e1a8012.tar.gz emacs-a062fc4137ff195fe269076cda07a61c2e1a8012.zip | |
Provide branch information for both Emacs and Tramp (Bug#33328)
* doc/lispref/intro.texi (Version Info):
Document `emacs-repository-version' and `emacs-repository-branch'.
* etc/NEWS: Mention `emacs-repository-branch'.
* lisp/loadup.el: Initialize `emacs-repository-branch'.
* lisp/version.el (emacs-repository-branch): New variable.
(emacs-repository-branch-git, emacs-repository-get-branch):
New defuns.
* lisp/mail/emacsbug.el (report-emacs-bug):
Insert `emacs-repository-branch'.
* lisp/net/tramp.el (tramp-get-local-gid):
Use `group-name' if available.
(tramp-debug-message):
* lisp/net/tramp-cmds.el (tramp-bug): Report also
`tramp-repository-branch' and `tramp-repository-version'.
* lisp/net/trampver.el (tramp-repository-branch)
(tramp-repository-version): New defconst.
(tramp-repository-get-version): Remove.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/intro.texi | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/lispref/intro.texi b/doc/lispref/intro.texi index 197f54ecc52..2353cf956cc 100644 --- a/doc/lispref/intro.texi +++ b/doc/lispref/intro.texi | |||
| @@ -530,6 +530,18 @@ directory (without cleaning). This is only of relevance when | |||
| 530 | developing Emacs. | 530 | developing Emacs. |
| 531 | @end defvar | 531 | @end defvar |
| 532 | 532 | ||
| 533 | @defvar emacs-repository-version | ||
| 534 | A string that gives the repository revision from which Emacs was | ||
| 535 | built. If Emacs was built outside revision control, the value is | ||
| 536 | @code{nil}. | ||
| 537 | @end defvar | ||
| 538 | |||
| 539 | @defvar emacs-repository-branch | ||
| 540 | A string that gives the repository branch from which Emacs was built. | ||
| 541 | In the most cases this is @code{"master"}. If Emacs was built outside | ||
| 542 | revision control, the value is @code{nil}. | ||
| 543 | @end defvar | ||
| 544 | |||
| 533 | @node Acknowledgments | 545 | @node Acknowledgments |
| 534 | @section Acknowledgments | 546 | @section Acknowledgments |
| 535 | 547 | ||