# HG changeset patch # User Glenn Morris # Date 1196838119 0 # Node ID a6d0cce41261a61db39c817f93b2a820a3ee5bc0 # Parent c5768352ad3f36c296842d035aa9b5c552abae9a 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. diff -r c5768352ad3f -r a6d0cce41261 lisp/eshell/em-prompt.el --- a/lisp/eshell/em-prompt.el Wed Dec 05 07:01:49 2007 +0000 +++ b/lisp/eshell/em-prompt.el Wed Dec 05 07:01:59 2007 +0000 @@ -22,9 +22,14 @@ ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, ;; Boston, MA 02110-1301, USA. -(provide 'em-prompt) +;;; Commentary: -(eval-when-compile (require 'esh-maint)) +;; 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 'eshell)) (defgroup eshell-prompt nil "This module provides command prompts, and navigation between them, @@ -32,11 +37,6 @@ :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 @@ (<= (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