changeset 15930:811f16bdff08

(byte-compile-insert-header): Fix previous change.
author Richard M. Stallman <rms@gnu.org>
date Mon, 26 Aug 1996 14:46:44 +0000
parents 955269257adf
children c729af982039
files lisp/emacs-lisp/bytecomp.el
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/bytecomp.el	Mon Aug 26 00:08:21 1996 +0000
+++ b/lisp/emacs-lisp/bytecomp.el	Mon Aug 26 14:46:44 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.12 $")
+(defconst byte-compile-version "$Revision: 2.13 $")
 
 ;; This file is part of GNU Emacs.
 
@@ -1417,9 +1417,8 @@
 	    (current-time-string) "\n;;; from file " filename "\n")
     (insert ";;; in Emacs version " emacs-version "\n")
     (insert ";;; with bytecomp version "
-	    (progn (string-match "\\$Revision: \\(.*\\) \\$"
-				 byte-compile-version)
-		   (replace-match "\\1" nil nil byte-compile-version))
+	    (progn (string-match "[0-9.]+" byte-compile-version)
+		   (match-string 0 byte-compile-version))
 	    "\n;;; "
 	    (cond
 	     ((eq byte-optimize 'source) "with source-level optimization only")