From: Gerd Moellmann Date: Mon, 26 Jun 2000 15:06:07 +0000 (+0000) Subject: (toplevel): Load defgroup's differently; X-Git-Tag: emacs-pretest-21.0.90~3064 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cab90cd8570f914040c42aa7d6129dee868ff17a;p=emacs.git (toplevel): Load defgroup's differently; patch from John. --- 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)