(gnus-extended-version): Include `gnus-revision-number' if it is non-zero.
authoryamaoka <yamaoka>
Tue, 22 Jun 1999 23:21:05 +0000 (23:21 +0000)
committeryamaoka <yamaoka>
Tue, 22 Jun 1999 23:21:05 +0000 (23:21 +0000)
lisp/gnus-msg.el

index 7ad4185..1108d47 100644 (file)
@@ -621,8 +621,13 @@ If SILENT, don't prompt the user."
 
 (defun gnus-extended-version ()
   "Stringified gnus version."
-  (concat gnus-product-name "/" gnus-version-number " (based on "
-         gnus-original-product-name " v" gnus-original-version-number ")"))
+  (concat gnus-product-name "/" gnus-version-number
+         " (based on "
+         gnus-original-product-name " v" gnus-original-version-number ")"
+         (if (zerop (string-to-number gnus-revision-number))
+             ""
+           (concat " (revision " gnus-revision-number ")"))
+         ))
 
 (defun gnus-message-make-user-agent (&optional include-mime-info max-column)
   "Return user-agent info.