summaryrefslogtreecommitdiff
path: root/lisp/eshell/em-prompt.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2007-12-05 07:03:18 +0000
committerGlenn Morris <rgm@gnu.org>2007-12-05 07:03:18 +0000
commitdbba8a04c9c73ad7a8b74e716a9126ee3333fc08 (patch)
tree1f93769ecc38b19d6598d8f2225f3c67937abd57 /lisp/eshell/em-prompt.el
parent20d7538ee8ef3991d3b4d4684d332d4efa1f6f1c (diff)
downloademacs-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-prompt.el')
-rw-r--r--lisp/eshell/em-prompt.el16
1 files changed, 8 insertions, 8 deletions
diff --git a/lisp/eshell/em-prompt.el b/lisp/eshell/em-prompt.el
index ddbf74f5c42..57a1da74177 100644
--- a/lisp/eshell/em-prompt.el
+++ b/lisp/eshell/em-prompt.el
@@ -22,9 +22,14 @@
;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
;; Boston, MA 02110-1301, USA.
-(provide 'em-prompt)
+;;; Commentary:
+
+;; Most of the prompt navigation commands of `comint-mode' are
+;; supported, such as C-c C-n, C-c C-p, etc.
+
+;;; Code:
-(eval-when-compile (require 'esh-maint))
+(eval-when-compile (require 'eshell))
(defgroup eshell-prompt nil
"This module provides command prompts, and navigation between them,
@@ -32,11 +37,6 @@ as is common with most shells."
:tag "Command prompts"
:group 'eshell-module)
-;;; Commentary:
-
-;; Most of the prompt navigation commands of `comint-mode' are
-;; supported, such as C-c C-n, C-c C-p, etc.
-
;;; User Variables:
(defcustom eshell-prompt-load-hook '(eshell-prompt-initialize)
@@ -173,7 +173,7 @@ If this takes us past the end of the current line, don't skip at all."
(<= (match-end 0) eol))
(goto-char (match-end 0)))))
-;;; Code:
+(provide 'em-prompt)
;;; arch-tag: 01c1574b-ce70-4e89-bc38-e6619f61e208
;;; em-prompt.el ends here