diff options
| author | Richard M. Stallman | 1996-12-07 20:34:15 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-12-07 20:34:15 +0000 |
| commit | 666ef0083b39a384d5b93a5a68777e962d3ae025 (patch) | |
| tree | e4246421f831d020fc723f1d3618865c8f49fa9e | |
| parent | e7e09325ce3b5313ee22f7ea0ec8251e777f03e9 (diff) | |
| download | emacs-666ef0083b39a384d5b93a5a68777e962d3ae025.tar.gz emacs-666ef0083b39a384d5b93a5a68777e962d3ae025.zip | |
(byte-compile-insert-header): If emacs-version
ends with a letter, don't check the version number.
| -rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 4373e81405a..db47ef974ad 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.21 $") | 13 | (defconst byte-compile-version "$Revision: 2.22 $") |
| 14 | 14 | ||
| 15 | ;; This file is part of GNU Emacs. | 15 | ;; This file is part of GNU Emacs. |
| 16 | 16 | ||
| @@ -1437,6 +1437,9 @@ With argument, insert value in current buffer after the form." | |||
| 1437 | ;; in files loaded early in loadup.el. | 1437 | ;; in files loaded early in loadup.el. |
| 1438 | "\n(if (and (boundp 'emacs-version)\n" | 1438 | "\n(if (and (boundp 'emacs-version)\n" |
| 1439 | "\t (or (and (boundp 'epoch::version) epoch::version)\n" | 1439 | "\t (or (and (boundp 'epoch::version) epoch::version)\n" |
| 1440 | ;; If there is a name at the end of emacs-version, | ||
| 1441 | ;; don't try to check the version number. | ||
| 1442 | "\t (< (aref emacs-version (1- (length emacs-version))) ?A)" | ||
| 1440 | (if dynamic-docstrings | 1443 | (if dynamic-docstrings |
| 1441 | "\t (string-lessp emacs-version \"19.29\")))\n" | 1444 | "\t (string-lessp emacs-version \"19.29\")))\n" |
| 1442 | "\t (string-lessp emacs-version \"19\")))\n") | 1445 | "\t (string-lessp emacs-version \"19\")))\n") |