aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/emacs-lisp/bytecomp.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 5784f21be8d..30e92ca8982 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -10,7 +10,7 @@
10 10
11;;; This version incorporates changes up to version 2.10 of the 11;;; This version incorporates changes up to version 2.10 of the
12;;; Zawinski-Furuseth compiler. 12;;; Zawinski-Furuseth compiler.
13(defconst byte-compile-version "$Revision: 2.12 $") 13(defconst byte-compile-version "$Revision: 2.13 $")
14 14
15;; This file is part of GNU Emacs. 15;; This file is part of GNU Emacs.
16 16
@@ -1417,9 +1417,8 @@ With argument, insert value in current buffer after the form."
1417 (current-time-string) "\n;;; from file " filename "\n") 1417 (current-time-string) "\n;;; from file " filename "\n")
1418 (insert ";;; in Emacs version " emacs-version "\n") 1418 (insert ";;; in Emacs version " emacs-version "\n")
1419 (insert ";;; with bytecomp version " 1419 (insert ";;; with bytecomp version "
1420 (progn (string-match "\\$Revision: \\(.*\\) \\$" 1420 (progn (string-match "[0-9.]+" byte-compile-version)
1421 byte-compile-version) 1421 (match-string 0 byte-compile-version))
1422 (replace-match "\\1" nil nil byte-compile-version))
1423 "\n;;; " 1422 "\n;;; "
1424 (cond 1423 (cond
1425 ((eq byte-optimize 'source) "with source-level optimization only") 1424 ((eq byte-optimize 'source) "with source-level optimization only")