Commit 60d2b434 authored by Eli Zaretskii's avatar Eli Zaretskii

(toplevel): Reference

byte-compile-current-file only if it is bound.
parent 4b92c49a
......@@ -71,7 +71,8 @@ customizing the variable `eshell-modules-list'."
;; documentation can be provided when the user customize's
;; `eshell-modules-list'.
(when (and byte-compile-current-file
(when (and (boundp 'byte-compile-current-file)
(equal (file-name-nondirectory byte-compile-current-file)
(let* ((directory (file-name-directory byte-compile-current-file))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment