Commit cab90cd8 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(toplevel): Load defgroup's differently;

patch from John.
parent d6d59057
......@@ -71,8 +71,9 @@ customizing the variable `eshell-modules-list'."
;; documentation can be provided when the user customize's
;; `eshell-modules-list'.
(when (equal (file-name-nondirectory byte-compile-current-file)
(when (and byte-compile-current-file
(equal (file-name-nondirectory byte-compile-current-file)
(let* ((directory (file-name-directory byte-compile-current-file))
(elc-file (expand-file-name "esh-groups.elc" directory)))
(eshell-load-defgroups directory)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment