diff options
| author | Eli Zaretskii | 2000-07-11 07:26:25 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2000-07-11 07:26:25 +0000 |
| commit | 60d2b434c0da033e4677e9a7046b3264d92a08ea (patch) | |
| tree | 1c95ee7c1954fd89c9c535341e4454929c9c14be /lisp/eshell | |
| parent | 4b92c49a81106e32e362c18c472f17ead12f81c9 (diff) | |
| download | emacs-60d2b434c0da033e4677e9a7046b3264d92a08ea.tar.gz emacs-60d2b434c0da033e4677e9a7046b3264d92a08ea.zip | |
(toplevel): Reference
byte-compile-current-file only if it is bound.
Diffstat (limited to 'lisp/eshell')
| -rw-r--r-- | lisp/eshell/esh-module.el | 3 |
1 files changed, 2 insertions, 1 deletions
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'." | |||
| 71 | ;; documentation can be provided when the user customize's | 71 | ;; documentation can be provided when the user customize's |
| 72 | ;; `eshell-modules-list'. | 72 | ;; `eshell-modules-list'. |
| 73 | (eval-when-compile | 73 | (eval-when-compile |
| 74 | (when (and byte-compile-current-file | 74 | (when (and (boundp 'byte-compile-current-file) |
| 75 | byte-compile-current-file | ||
| 75 | (equal (file-name-nondirectory byte-compile-current-file) | 76 | (equal (file-name-nondirectory byte-compile-current-file) |
| 76 | "esh-module.el")) | 77 | "esh-module.el")) |
| 77 | (let* ((directory (file-name-directory byte-compile-current-file)) | 78 | (let* ((directory (file-name-directory byte-compile-current-file)) |