From: Eli Zaretskii Date: Tue, 11 Jul 2000 07:26:25 +0000 (+0000) Subject: (toplevel): Reference X-Git-Tag: emacs-pretest-21.0.90~2891 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=60d2b434c0da033e4677e9a7046b3264d92a08ea;p=emacs.git (toplevel): Reference byte-compile-current-file only if it is bound. --- diff --git a/lisp/eshell/esh-module.el b/lisp/eshell/esh-module.el index 67acb6ac99f..fec608fc471 100644 --- a/lisp/eshell/esh-module.el +++ b/lisp/eshell/esh-module.el @@ -71,7 +71,8 @@ customizing the variable `eshell-modules-list'." ;; 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))