Mercurial > emacs
diff lisp/eshell/esh-module.el @ 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 | 95e03dfd4c65 |
children | 02375e0f6ea7 |
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))