]> git.eshelyaron.com Git - emacs.git/commitdiff
Require individual files if needed when compiling, rather than
authorGlenn Morris <rgm@gnu.org>
Wed, 5 Dec 2007 07:09:53 +0000 (07:09 +0000)
committerGlenn Morris <rgm@gnu.org>
Wed, 5 Dec 2007 07:09:53 +0000 (07:09 +0000)
esh-maint.  Collect any require statements.  Leave provide at start.
Move any commentary to start.

lisp/ChangeLog
lisp/eshell/esh-var.el

index baddff10bac02e7f773569b20979354559008867..b37987cb8956993055d059559db28f4c09775464 100644 (file)
@@ -1,5 +1,38 @@
 2007-12-05  Glenn Morris  <rgm@gnu.org>
 
+       * eshell/em-alias.el (pcomplete-stub): Define for compiler.
+       (pcomplete-here): Autoload it.
+
+       * eshell/em-basic.el (print-func): No need to define for compiler.
+
+       * eshell/esh-cmd.el (eshell-debug-command):
+       * eshell/esh-io.el (eshell-print): Move definitions before use.
+
+       * eshell/esh-module.el (eshell-load-defgroups): Eval and compile.
+
+       * eshell/esh-util.el (top-level): Don't require pp.  Use
+       condition-case rather than ignore-errors.
+
+       * eshell/eshell.el (eshell-buffer-name): Define for compiler.
+
+       * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el
+       * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el
+       * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el
+       * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el
+       * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el
+       * eshell/em-xtra.el, eshell/esh-cmd.el, eshell/esh-test.el
+       * eshell/esh-util.el, eshell/eshell.el: Require individual files
+       if needed when compiling, rather than esh-maint.  Collect any
+       require statements.  Move provide statement to end.  Move any
+       commentary to start.
+
+       * eshell/esh-arg.el, eshell/esh-ext.el, eshell/esh-io.el:
+       * eshell/esh-mode.el, eshell/esh-module.el, eshell/esh-opt.el:
+       * eshell/esh-proc.el, eshell/esh-var.el:
+       Require individual files if needed when compiling, rather than
+       esh-maint.  Collect any require statements.  Leave provide at start.
+       Move any commentary to start.
+
        * emacs-lisp/bytecomp.el (byte-compile-declare-function): Remove
        declared function from byte-compile-noruntime-functions.
 
index 7c04b5a942aa4612ff4a4aeaf04ce1effd49d031..dbc8802a9c54db0afe4457b1f2df23dcef160dc7 100644 (file)
 ;; 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 @@ variable value, a subcommand, or even the result of a Lisp form."
 ;; 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)