summaryrefslogtreecommitdiff
path: root/lisp/eshell/em-hist.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-hist.el
parent20d7538ee8ef3991d3b4d4684d332d4efa1f6f1c (diff)
downloademacs-dbba8a04c9c73ad7a8b74e716a9126ee3333fc08.tar.gz
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-hist.el')
-rw-r--r--lisp/eshell/em-hist.el18
1 files changed, 8 insertions, 10 deletions
diff --git a/lisp/eshell/em-hist.el b/lisp/eshell/em-hist.el
index 88e15423956..2dd2b31d34a 100644
--- a/lisp/eshell/em-hist.el
+++ b/lisp/eshell/em-hist.el
@@ -22,16 +22,6 @@
;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
;; Boston, MA 02110-1301, USA.
-(provide 'em-hist)
-
-(eval-when-compile (require 'esh-maint))
-(require 'eshell)
-
-(defgroup eshell-hist nil
- "This module provides command history management."
- :tag "History list management"
- :group 'eshell-module)
-
;;; Commentary:
;; Eshell's history facility imitates the syntax used by bash
@@ -70,6 +60,12 @@
(require 'ring)
(require 'esh-opt)
(require 'em-pred)
+(require 'eshell)
+
+(defgroup eshell-hist nil
+ "This module provides command history management."
+ :tag "History list management"
+ :group 'eshell-module)
;;; User Variables:
@@ -988,5 +984,7 @@ If N is negative, search backwards for the -Nth previous match."
(isearch-done)
(eshell-send-input))
+(provide 'em-hist)
+
;;; arch-tag: 1a847333-f864-4b96-9acd-b549d620b6c6
;;; em-hist.el ends here