From 6a619620dea1ea319a5f2a7bab1d6e15cf4d3331 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 9 Nov 2000 16:07:56 +0000 Subject: [PATCH] (byte-compile-current-file): Don't bind it, so that a boundp test can be used to determine if we're currently byte-compiling. --- lisp/emacs-lisp/bytecomp.el | 6 ++++-- 1 file 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 @@ ;;; This version incorporates changes up to version 2.10 of the ;;; Zawinski-Furuseth compiler. -(defconst byte-compile-version "$Revision: 2.78 $") +(defconst byte-compile-version "$Revision: 2.79.1.1 $") ;; This file is part of GNU Emacs. @@ -792,9 +792,11 @@ Each function's symbol gets marked with the `byte-compile-noruntime' property." ;;; byte compiler messages (defvar byte-compile-current-form nil) -(defvar byte-compile-current-file nil) (defvar byte-compile-dest-file nil) +;; Don't actually bind this. +(defvar byte-compile-current-file) + (defmacro byte-compile-log (format-string &rest args) (list 'and 'byte-optimize -- 2.39.5