Require individual files if needed when compiling, rather than
esh-maint. Collect any require statements. Leave provide at start. Move any commentary to start.
This commit is contained in:
parent
00c3ec7666
commit
11740ce56d
2 changed files with 49 additions and 12 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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 @@ 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)
|
||||
|
|
Loading…
Add table
Reference in a new issue