# HG changeset patch # User Glenn Morris # Date 1196838185 0 # Node ID 9b97b187c7e22e260a6407b2d510632b95e95962 # Parent e8d46c0f12e69e69624ecac990ad93c279f19435 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 e8d46c0f12e6 -r 9b97b187c7e2 lisp/eshell/em-unix.el --- a/lisp/eshell/em-unix.el Wed Dec 05 07:02:51 2007 +0000 +++ b/lisp/eshell/em-unix.el Wed Dec 05 07:03:05 2007 +0000 @@ -22,9 +22,22 @@ ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, ;; Boston, MA 02110-1301, USA. -(provide 'em-unix) +;;; Commentary: -(eval-when-compile (require 'esh-maint)) +;; This file contains implementations of several UNIX command in Emacs +;; Lisp, for several reasons: +;; +;; 1) it makes them available on all platforms where the Lisp +;; functions used are available +;; +;; 2) it makes their functionality accessible and modified by the +;; Lisp programmer. +;; +;; 3) it allows Eshell to refrain from having to invoke external +;; processes for common operations. + +;;; Code: + (require 'eshell) (defgroup eshell-unix nil @@ -40,20 +53,6 @@ :tag "UNIX commands in Lisp" :group 'eshell-module) -;;; Commentary: - -;; This file contains implementations of several UNIX command in Emacs -;; Lisp, for several reasons: -;; -;; 1) it makes them available on all platforms where the Lisp -;; functions used are available -;; -;; 2) it makes their functionality accessible and modified by the -;; Lisp programmer. -;; -;; 3) it allows Eshell to refrain from having to invoke external -;; processes for common operations. - (defcustom eshell-unix-load-hook '(eshell-unix-initialize) "*A list of functions to run when `eshell-unix' is loaded." :type 'hook @@ -137,8 +136,6 @@ :type 'boolean :group 'eshell-unix) -(require 'esh-opt) - ;;; Functions: (defun eshell-unix-initialize () @@ -1050,7 +1047,7 @@ (put 'eshell/occur 'eshell-no-numeric-conversions t) -;;; Code: +(provide 'em-unix) ;;; arch-tag: 2462edd2-a76a-4cf2-897d-92e9a82ac1c9 ;;; em-unix.el ends here