# HG changeset patch # User Glenn Morris # Date 1196838485 0 # Node ID c7c065bc43a2fad3d1eb921ba564a4b7d42c1a61 # Parent 52787def92eb60f237a51c236098efda6b18550b Require individual files if needed when compiling, rather than esh-maint. Collect any require statements. Leave provide at start. Move any commentary to start. diff -r 52787def92eb -r c7c065bc43a2 lisp/eshell/esh-ext.el --- a/lisp/eshell/esh-ext.el Wed Dec 05 07:07:39 2007 +0000 +++ b/lisp/eshell/esh-ext.el Wed Dec 05 07:08:05 2007 +0000 @@ -22,17 +22,6 @@ ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, ;; Boston, MA 02110-1301, USA. -(provide 'esh-ext) - -(eval-when-compile (require 'esh-maint)) -(require 'esh-util) - -(defgroup eshell-ext nil - "External commands are invoked when operating system executables are -loaded into memory, thus beginning a new process." - :tag "External commands" - :group 'eshell) - ;;; Commentary: ;; To force a command to invoked external, either provide an explicit @@ -43,6 +32,18 @@ ;; /bin/grep ; will definitely invoke /bin/grep ;; *grep ; will also invoke /bin/grep +(provide 'esh-ext) + +(eval-when-compile + (require 'esh-cmd)) +(require 'esh-util) + +(defgroup eshell-ext nil + "External commands are invoked when operating system executables are +loaded into memory, thus beginning a new process." + :tag "External commands" + :group 'eshell) + ;;; User Variables: (defcustom eshell-ext-load-hook '(eshell-ext-initialize)