diff options
| author | Glenn Morris | 2007-12-05 07:09:53 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-12-05 07:09:53 +0000 |
| commit | 11740ce56d3344730e50e69e6a1c3bcde30d3f35 (patch) | |
| tree | 294f7a50573636904ed57a49e5c928e5a70c9cb6 | |
| parent | 00c3ec7666aa20b7a0aabb62bc0245f35ac77304 (diff) | |
| download | emacs-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.
| -rw-r--r-- | lisp/ChangeLog | 33 | ||||
| -rw-r--r-- | lisp/eshell/esh-var.el | 28 |
2 files changed, 49 insertions, 12 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index baddff10bac..b37987cb895 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,38 @@ | |||
| 1 | 2007-12-05 Glenn Morris <rgm@gnu.org> | 1 | 2007-12-05 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * eshell/em-alias.el (pcomplete-stub): Define for compiler. | ||
| 4 | (pcomplete-here): Autoload it. | ||
| 5 | |||
| 6 | * eshell/em-basic.el (print-func): No need to define for compiler. | ||
| 7 | |||
| 8 | * eshell/esh-cmd.el (eshell-debug-command): | ||
| 9 | * eshell/esh-io.el (eshell-print): Move definitions before use. | ||
| 10 | |||
| 11 | * eshell/esh-module.el (eshell-load-defgroups): Eval and compile. | ||
| 12 | |||
| 13 | * eshell/esh-util.el (top-level): Don't require pp. Use | ||
| 14 | condition-case rather than ignore-errors. | ||
| 15 | |||
| 16 | * eshell/eshell.el (eshell-buffer-name): Define for compiler. | ||
| 17 | |||
| 18 | * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el | ||
| 19 | * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el | ||
| 20 | * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el | ||
| 21 | * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el | ||
| 22 | * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el | ||
| 23 | * eshell/em-xtra.el, eshell/esh-cmd.el, eshell/esh-test.el | ||
| 24 | * eshell/esh-util.el, eshell/eshell.el: Require individual files | ||
| 25 | if needed when compiling, rather than esh-maint. Collect any | ||
| 26 | require statements. Move provide statement to end. Move any | ||
| 27 | commentary to start. | ||
| 28 | |||
| 29 | * eshell/esh-arg.el, eshell/esh-ext.el, eshell/esh-io.el: | ||
| 30 | * eshell/esh-mode.el, eshell/esh-module.el, eshell/esh-opt.el: | ||
| 31 | * eshell/esh-proc.el, eshell/esh-var.el: | ||
| 32 | Require individual files if needed when compiling, rather than | ||
| 33 | esh-maint. Collect any require statements. Leave provide at start. | ||
| 34 | Move any commentary to start. | ||
| 35 | |||
| 3 | * emacs-lisp/bytecomp.el (byte-compile-declare-function): Remove | 36 | * emacs-lisp/bytecomp.el (byte-compile-declare-function): Remove |
| 4 | declared function from byte-compile-noruntime-functions. | 37 | declared function from byte-compile-noruntime-functions. |
| 5 | 38 | ||
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 | ||
| 31 | appears unquoted in any argument (except when that argument is | ||
| 32 | surrounded by single quotes). It may be used to interpolate a | ||
| 33 | variable 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 | ||
| 122 | appears unquoted in any argument (except when that argument is | ||
| 123 | surrounded by single quotes). It may be used to interpolate a | ||
| 124 | variable 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) |