Mercurial > emacs
changeset 29944:95e03dfd4c65
(toplevel): Load defgroup's differently;
patch from John.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 26 Jun 2000 15:06:07 +0000 |
parents | b8314fd10792 |
children | f660cfaca2db |
files | lisp/eshell/esh-module.el |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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)