# HG changeset patch # User Gerd Moellmann # Date 962031967 0 # Node ID 95e03dfd4c65a0394b44f643c42629da49a68719 # Parent b8314fd1079272da2823bd34e3ee6e11630f9e49 (toplevel): Load defgroup's differently; patch from John. diff -r b8314fd10792 -r 95e03dfd4c65 lisp/eshell/esh-module.el --- a/lisp/eshell/esh-module.el Mon Jun 26 15:05:34 2000 +0000 +++ b/lisp/eshell/esh-module.el Mon Jun 26 15:06:07 2000 +0000 @@ -71,8 +71,9 @@ ;; 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)