mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 01:34:21 +00:00
(mh-insert-x-mailer): Strip build number from version in X-Mailer
field (closes SF #1466481).
This commit is contained in:
parent
c90c4cf168
commit
d5468dff87
2 changed files with 7 additions and 1 deletions
|
|
@ -1,5 +1,8 @@
|
|||
2006-04-17 Bill Wohler <wohler@newt.com>
|
||||
|
||||
* mh-comp.el (mh-insert-x-mailer): Strip build number from
|
||||
version in X-Mailer field (closes SF #1466481).
|
||||
|
||||
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
|
||||
variables and functions with the same name are found correctly by
|
||||
find-func (invoked by clicking on the filename link in the *Help*
|
||||
|
|
|
|||
|
|
@ -912,7 +912,10 @@ The versions of MH-E, Emacs, and MH are shown."
|
|||
(format "MH-E %s; %s; %sEmacs %s"
|
||||
mh-version mh-variant-in-use
|
||||
(if mh-xemacs-flag "X" "GNU ")
|
||||
(cond ((not mh-xemacs-flag) emacs-version)
|
||||
(cond ((not mh-xemacs-flag)
|
||||
(string-match "[0-9]+\\.[0-9]+\\(\\.[0-9]+\\)?"
|
||||
emacs-version)
|
||||
(match-string 0 emacs-version))
|
||||
((string-match "[0-9.]*\\( +\([ a-z]+[0-9]+\)\\)?"
|
||||
emacs-version)
|
||||
(match-string 0 emacs-version))
|
||||
|
|
|
|||
Loading…
Reference in a new issue