changeset 30141:570efb22ec0b

(toplevel): Reference byte-compile-current-file only if it is bound.
author Eli Zaretskii <eliz@gnu.org>
date Tue, 11 Jul 2000 07:26:25 +0000
parents a567b99dd7d3
children 5bfb859adb13
files lisp/eshell/esh-module.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/eshell/esh-module.el	Mon Jul 10 20:38:23 2000 +0000
+++ b/lisp/eshell/esh-module.el	Tue Jul 11 07:26:25 2000 +0000
@@ -71,7 +71,8 @@
 ;; documentation can be provided when the user customize's
 ;; `eshell-modules-list'.
 (eval-when-compile
-  (when (and byte-compile-current-file
+  (when (and (boundp 'byte-compile-current-file)
+	     byte-compile-current-file
 	     (equal (file-name-nondirectory byte-compile-current-file)
 		    "esh-module.el"))
     (let* ((directory (file-name-directory byte-compile-current-file))