From cab90cd8570f914040c42aa7d6129dee868ff17a Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 26 Jun 2000 15:06:07 +0000 Subject: [PATCH] (toplevel): Load defgroup's differently; patch from John. --- lisp/eshell/esh-module.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/eshell/esh-module.el b/lisp/eshell/esh-module.el index df447b0f2dc..67acb6ac99f 100644 --- a/lisp/eshell/esh-module.el +++ b/lisp/eshell/esh-module.el @@ -71,8 +71,9 @@ customizing the variable `eshell-modules-list'." ;; documentation can be provided when the user customize's ;; `eshell-modules-list'. (eval-when-compile - (when (equal (file-name-nondirectory byte-compile-current-file) - "esh-module.el") + (when (and byte-compile-current-file + (equal (file-name-nondirectory byte-compile-current-file) + "esh-module.el")) (let* ((directory (file-name-directory byte-compile-current-file)) (elc-file (expand-file-name "esh-groups.elc" directory))) (eshell-load-defgroups directory) -- 2.39.2