aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell
diff options
context:
space:
mode:
authorGlenn Morris2007-12-05 07:09:53 +0000
committerGlenn Morris2007-12-05 07:09:53 +0000
commit11740ce56d3344730e50e69e6a1c3bcde30d3f35 (patch)
tree294f7a50573636904ed57a49e5c928e5a70c9cb6 /lisp/eshell
parent00c3ec7666aa20b7a0aabb62bc0245f35ac77304 (diff)
downloademacs-11740ce56d3344730e50e69e6a1c3bcde30d3f35.tar.gz
emacs-11740ce56d3344730e50e69e6a1c3bcde30d3f35.zip
Require individual files if needed when compiling, rather than
esh-maint. Collect any require statements. Leave provide at start. Move any commentary to start.
Diffstat (limited to 'lisp/eshell')
-rw-r--r--lisp/eshell/esh-var.el28
1 files changed, 16 insertions, 12 deletions
diff --git a/lisp/eshell/esh-var.el b/lisp/eshell/esh-var.el
index 7c04b5a942a..dbc8802a9c5 100644
--- a/lisp/eshell/esh-var.el
+++ b/lisp/eshell/esh-var.el
@@ -22,18 +22,6 @@
22;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 22;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
23;; Boston, MA 02110-1301, USA. 23;; Boston, MA 02110-1301, USA.
24 24
25(provide 'esh-var)
26
27(eval-when-compile (require 'esh-maint))
28
29(defgroup eshell-var nil
30 "Variable interpolation is introduced whenever the '$' character
31appears unquoted in any argument (except when that argument is
32surrounded by single quotes). It may be used to interpolate a
33variable value, a subcommand, or even the result of a Lisp form."
34 :tag "Variable handling"
35 :group 'eshell)
36
37;;; Commentary: 25;;; Commentary:
38 26
39;; These are the possible variable interpolation syntaxes. Also keep 27;; 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."
118;; contains the exit code of the last command (0 or 1 for Lisp 106;; contains the exit code of the last command (0 or 1 for Lisp
119;; functions, based on successful completion). 107;; functions, based on successful completion).
120 108
109(provide 'esh-var)
110
111(eval-when-compile
112 (require 'pcomplete)
113 (require 'esh-test)
114 (require 'esh-util)
115 (require 'esh-opt)
116 (require 'esh-mode))
121(require 'env) 117(require 'env)
122(require 'ring) 118(require 'ring)
123 119
120(defgroup eshell-var nil
121 "Variable interpolation is introduced whenever the '$' character
122appears unquoted in any argument (except when that argument is
123surrounded by single quotes). It may be used to interpolate a
124variable value, a subcommand, or even the result of a Lisp form."
125 :tag "Variable handling"
126 :group 'eshell)
127
124;;; User Variables: 128;;; User Variables:
125 129
126(defcustom eshell-var-load-hook '(eshell-var-initialize) 130(defcustom eshell-var-load-hook '(eshell-var-initialize)