# HG changeset patch # User Eli Zaretskii # Date 963300385 0 # Node ID 570efb22ec0bcf5a11e1774a09f9113b6c47c753 # Parent a567b99dd7d36b9e008eaaa5dfadf809c302cd1b (toplevel): Reference byte-compile-current-file only if it is bound. diff -r a567b99dd7d3 -r 570efb22ec0b lisp/eshell/esh-module.el --- 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))