diff options
| author | Gerd Moellmann | 2000-06-26 15:06:07 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-06-26 15:06:07 +0000 |
| commit | cab90cd8570f914040c42aa7d6129dee868ff17a (patch) | |
| tree | 47e603dd8cc6b294d29821b3dddcb0dc35528de2 /lisp | |
| parent | d6d5905738a52cfeed1ee03d2e4d20919e104c96 (diff) | |
| download | emacs-cab90cd8570f914040c42aa7d6129dee868ff17a.tar.gz emacs-cab90cd8570f914040c42aa7d6129dee868ff17a.zip | |
(toplevel): Load defgroup's differently;
patch from John.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/eshell/esh-module.el | 5 |
1 files 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'." | |||
| 71 | ;; documentation can be provided when the user customize's | 71 | ;; documentation can be provided when the user customize's |
| 72 | ;; `eshell-modules-list'. | 72 | ;; `eshell-modules-list'. |
| 73 | (eval-when-compile | 73 | (eval-when-compile |
| 74 | (when (equal (file-name-nondirectory byte-compile-current-file) | 74 | (when (and byte-compile-current-file |
| 75 | "esh-module.el") | 75 | (equal (file-name-nondirectory byte-compile-current-file) |
| 76 | "esh-module.el")) | ||
| 76 | (let* ((directory (file-name-directory byte-compile-current-file)) | 77 | (let* ((directory (file-name-directory byte-compile-current-file)) |
| 77 | (elc-file (expand-file-name "esh-groups.elc" directory))) | 78 | (elc-file (expand-file-name "esh-groups.elc" directory))) |
| 78 | (eshell-load-defgroups directory) | 79 | (eshell-load-defgroups directory) |