diff options
| author | Gerd Moellmann | 2000-11-09 16:07:56 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-11-09 16:07:56 +0000 |
| commit | 6a619620dea1ea319a5f2a7bab1d6e15cf4d3331 (patch) | |
| tree | 167d536eea64e88ecdabe89a8894a7113ce459a6 | |
| parent | cb1544262aabd4048c7247bed9dc57a179a79040 (diff) | |
| download | emacs-6a619620dea1ea319a5f2a7bab1d6e15cf4d3331.tar.gz emacs-6a619620dea1ea319a5f2a7bab1d6e15cf4d3331.zip | |
(byte-compile-current-file): Don't bind
it, so that a boundp test can be used to determine if we're
currently byte-compiling.
| -rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 1c75f5e5736..928d3fe4db4 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.78 $") | 13 | (defconst byte-compile-version "$Revision: 2.79.1.1 $") |
| 14 | 14 | ||
| 15 | ;; This file is part of GNU Emacs. | 15 | ;; This file is part of GNU Emacs. |
| 16 | 16 | ||
| @@ -792,9 +792,11 @@ Each function's symbol gets marked with the `byte-compile-noruntime' property." | |||
| 792 | ;;; byte compiler messages | 792 | ;;; byte compiler messages |
| 793 | 793 | ||
| 794 | (defvar byte-compile-current-form nil) | 794 | (defvar byte-compile-current-form nil) |
| 795 | (defvar byte-compile-current-file nil) | ||
| 796 | (defvar byte-compile-dest-file nil) | 795 | (defvar byte-compile-dest-file nil) |
| 797 | 796 | ||
| 797 | ;; Don't actually bind this. | ||
| 798 | (defvar byte-compile-current-file) | ||
| 799 | |||
| 798 | (defmacro byte-compile-log (format-string &rest args) | 800 | (defmacro byte-compile-log (format-string &rest args) |
| 799 | (list 'and | 801 | (list 'and |
| 800 | 'byte-optimize | 802 | 'byte-optimize |