]> git.eshelyaron.com Git - emacs.git/commitdiff
(toplevel): Reference
authorEli Zaretskii <eliz@gnu.org>
Tue, 11 Jul 2000 07:26:25 +0000 (07:26 +0000)
committerEli Zaretskii <eliz@gnu.org>
Tue, 11 Jul 2000 07:26:25 +0000 (07:26 +0000)
byte-compile-current-file only if it is bound.

lisp/eshell/esh-module.el

index 67acb6ac99fa88619f2e843d902cc22f17fcc402..fec608fc471800d526e79738b24989ce45f7e855 100644 (file)
@@ -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))