diff options
author | Glenn Morris <rgm@gnu.org> | 2007-12-05 07:03:18 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2007-12-05 07:03:18 +0000 |
commit | dbba8a04c9c73ad7a8b74e716a9126ee3333fc08 (patch) | |
tree | 1f93769ecc38b19d6598d8f2225f3c67937abd57 /lisp/eshell/em-term.el | |
parent | 20d7538ee8ef3991d3b4d4684d332d4efa1f6f1c (diff) | |
download | emacs-dbba8a04c9c73ad7a8b74e716a9126ee3333fc08.tar.gz emacs-dbba8a04c9c73ad7a8b74e716a9126ee3333fc08.tar.bz2 emacs-dbba8a04c9c73ad7a8b74e716a9126ee3333fc08.zip |
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.
Diffstat (limited to 'lisp/eshell/em-term.el')
-rw-r--r-- | lisp/eshell/em-term.el | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/lisp/eshell/em-term.el b/lisp/eshell/em-term.el index 541773a4b5b..6ee698148da 100644 --- a/lisp/eshell/em-term.el +++ b/lisp/eshell/em-term.el @@ -22,19 +22,6 @@ ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, ;; Boston, MA 02110-1301, USA. -(provide 'em-term) - -(eval-when-compile (require 'esh-maint)) - -(defgroup eshell-term nil - "This module causes visual commands (e.g., 'vi') to be executed by -the `term' package, which comes with Emacs. This package handles most -of the ANSI control codes, allowing curses-based applications to run -within an Emacs window. The variable `eshell-visual-commands' defines -which commands are considered visual in nature." - :tag "Running visual commands" - :group 'eshell-module) - ;;; Commentary: ;; At the moment, eshell is stream-based in its interactive input and @@ -45,8 +32,20 @@ which commands are considered visual in nature." ;; buffer, giving the illusion that Eshell itself is allowing these ;; visual processes to execute. +;;; Code: + +(eval-when-compile (require 'eshell)) (require 'term) +(defgroup eshell-term nil + "This module causes visual commands (e.g., 'vi') to be executed by +the `term' package, which comes with Emacs. This package handles most +of the ANSI control codes, allowing curses-based applications to run +within an Emacs window. The variable `eshell-visual-commands' defines +which commands are considered visual in nature." + :tag "Running visual commands" + :group 'eshell-module) + ;;; User Variables: (defcustom eshell-term-load-hook '(eshell-term-initialize) @@ -264,7 +263,7 @@ allowed." ; "Switch to line (\"cooked\") sub-mode of eshell-term mode." ; (use-local-map term-old-mode-map)) -;;; Code: +(provide 'em-term) ;;; arch-tag: ab7c8fe4-3101-4257-925b-1354c6b2fe9d ;;; em-term.el ends here |