changeset 16623:b33613b8aadb

(byte-compile-insert-header): If emacs-version ends with a letter, don't check the version number.
author Richard M. Stallman <rms@gnu.org>
date Sat, 07 Dec 1996 20:34:15 +0000
parents 9811f1144bbf
children cd1a0e1e6975
files lisp/emacs-lisp/bytecomp.el
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/bytecomp.el	Sat Dec 07 20:33:22 1996 +0000
+++ b/lisp/emacs-lisp/bytecomp.el	Sat Dec 07 20:34:15 1996 +0000
@@ -10,7 +10,7 @@
 
 ;;; This version incorporates changes up to version 2.10 of the 
 ;;; Zawinski-Furuseth compiler.
-(defconst byte-compile-version "$Revision: 2.21 $")
+(defconst byte-compile-version "$Revision: 2.22 $")
 
 ;; This file is part of GNU Emacs.
 
@@ -1437,6 +1437,9 @@
 		;; in files loaded early in loadup.el.
 		"\n(if (and (boundp 'emacs-version)\n"
 		"\t (or (and (boundp 'epoch::version) epoch::version)\n"
+		;; If there is a name at the end of emacs-version,
+		;; don't try to check the version number.
+		"\t     (< (aref emacs-version (1- (length emacs-version))) ?A)"
 		(if dynamic-docstrings
 		    "\t     (string-lessp emacs-version \"19.29\")))\n"
 		  "\t     (string-lessp emacs-version \"19\")))\n")