summaryrefslogtreecommitdiff
path: root/lisp/eshell/em-xtra.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-xtra.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-xtra.el')
-rw-r--r--lisp/eshell/em-xtra.el15
1 files changed, 8 insertions, 7 deletions
diff --git a/lisp/eshell/em-xtra.el b/lisp/eshell/em-xtra.el
index bd48afb6bd6..f0a92eb0c60 100644
--- a/lisp/eshell/em-xtra.el
+++ b/lisp/eshell/em-xtra.el
@@ -22,9 +22,14 @@
;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
;; Boston, MA 02110-1301, USA.
-(provide 'em-xtra)
+;;; Commentary:
+
+;;; Code:
-(eval-when-compile (require 'esh-maint))
+(eval-when-compile
+ (require 'eshell)
+ (require 'pcomplete))
+(require 'compile)
(defgroup eshell-xtra nil
"This module defines some extra alias functions which are entirely
@@ -34,10 +39,6 @@ naturally accessible within Emacs."
:tag "Extra alias functions"
:group 'eshell-module)
-;;; Commentary:
-
-(require 'compile)
-
;;; Functions:
(defun eshell/expr (&rest args)
@@ -117,7 +118,7 @@ naturally accessible within Emacs."
(defalias 'pcomplete/bcc 'pcomplete/bcc32)
-;;; Code:
+(provide 'em-xtra)
;;; arch-tag: f944cfda-a118-470c-a0d6-b41a3a5c99c7
;;; em-xtra.el ends here