mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 18:40:39 -08:00
(byte-compile-insert-header): Fix previous change.
This commit is contained in:
parent
8396299d26
commit
fd20f0150d
1 changed files with 3 additions and 4 deletions
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
;;; This version incorporates changes up to version 2.10 of the
|
;;; This version incorporates changes up to version 2.10 of the
|
||||||
;;; Zawinski-Furuseth compiler.
|
;;; Zawinski-Furuseth compiler.
|
||||||
(defconst byte-compile-version "$Revision: 2.12 $")
|
(defconst byte-compile-version "$Revision: 2.13 $")
|
||||||
|
|
||||||
;; This file is part of GNU Emacs.
|
;; This file is part of GNU Emacs.
|
||||||
|
|
||||||
|
|
@ -1417,9 +1417,8 @@ With argument, insert value in current buffer after the form."
|
||||||
(current-time-string) "\n;;; from file " filename "\n")
|
(current-time-string) "\n;;; from file " filename "\n")
|
||||||
(insert ";;; in Emacs version " emacs-version "\n")
|
(insert ";;; in Emacs version " emacs-version "\n")
|
||||||
(insert ";;; with bytecomp version "
|
(insert ";;; with bytecomp version "
|
||||||
(progn (string-match "\\$Revision: \\(.*\\) \\$"
|
(progn (string-match "[0-9.]+" byte-compile-version)
|
||||||
byte-compile-version)
|
(match-string 0 byte-compile-version))
|
||||||
(replace-match "\\1" nil nil byte-compile-version))
|
|
||||||
"\n;;; "
|
"\n;;; "
|
||||||
(cond
|
(cond
|
||||||
((eq byte-optimize 'source) "with source-level optimization only")
|
((eq byte-optimize 'source) "with source-level optimization only")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue