# HG changeset patch # User Glenn Morris # Date 1196838571 0 # Node ID 9c568a5e864882fcb1e3c28cc56b03b240e8b99c # Parent ddc1d773fb486ff134aa8fa774d956a46428c92e 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 ddc1d773fb48 -r 9c568a5e8648 lisp/eshell/esh-var.el --- a/lisp/eshell/esh-var.el Wed Dec 05 07:09:17 2007 +0000 +++ b/lisp/eshell/esh-var.el Wed Dec 05 07:09:31 2007 +0000 @@ -22,18 +22,6 @@ ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, ;; Boston, MA 02110-1301, USA. -(provide 'esh-var) - -(eval-when-compile (require 'esh-maint)) - -(defgroup eshell-var nil - "Variable interpolation is introduced whenever the '$' character -appears unquoted in any argument (except when that argument is -surrounded by single quotes). It may be used to interpolate a -variable value, a subcommand, or even the result of a Lisp form." - :tag "Variable handling" - :group 'eshell) - ;;; Commentary: ;; These are the possible variable interpolation syntaxes. Also keep @@ -118,9 +106,25 @@ ;; contains the exit code of the last command (0 or 1 for Lisp ;; functions, based on successful completion). +(provide 'esh-var) + +(eval-when-compile + (require 'pcomplete) + (require 'esh-test) + (require 'esh-util) + (require 'esh-opt) + (require 'esh-mode)) (require 'env) (require 'ring) +(defgroup eshell-var nil + "Variable interpolation is introduced whenever the '$' character +appears unquoted in any argument (except when that argument is +surrounded by single quotes). It may be used to interpolate a +variable value, a subcommand, or even the result of a Lisp form." + :tag "Variable handling" + :group 'eshell) + ;;; User Variables: (defcustom eshell-var-load-hook '(eshell-var-initialize)