aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell
diff options
context:
space:
mode:
authorGlenn Morris2007-12-05 07:07:39 +0000
committerGlenn Morris2007-12-05 07:07:39 +0000
commit5477308bb2464b46c7d376e93bf810d64ec4c081 (patch)
treebd5e8b2f97f68acc8d49cdf184f6700df5b966db /lisp/eshell
parent99abb67ec67ec14443f6989cd53d9a9806b57c04 (diff)
downloademacs-5477308bb2464b46c7d376e93bf810d64ec4c081.tar.gz
emacs-5477308bb2464b46c7d376e93bf810d64ec4c081.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. (eshell-buffer-name): Define for compiler.
Diffstat (limited to 'lisp/eshell')
-rw-r--r--lisp/eshell/eshell.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/eshell/eshell.el b/lisp/eshell/eshell.el
index 8ee925c23cd..58bc72a3ea9 100644
--- a/lisp/eshell/eshell.el
+++ b/lisp/eshell/eshell.el
@@ -224,9 +224,11 @@
224;; will only have to read in this one file, which will greatly speed 224;; will only have to read in this one file, which will greatly speed
225;; things up. 225;; things up.
226 226
227(require 'esh-mode) 227(eval-when-compile
228 (require 'cl)
229 (require 'esh-util))
228(require 'esh-util) 230(require 'esh-util)
229(eval-when-compile (require 'esh-maint)) 231(require 'esh-mode)
230 232
231(defgroup eshell nil 233(defgroup eshell nil
232 "Eshell is a command shell implemented entirely in Emacs Lisp. It 234 "Eshell is a command shell implemented entirely in Emacs Lisp. It
@@ -243,6 +245,7 @@ the tasks accomplished by such tools."
243;;;_* User Options 245;;;_* User Options
244;; 246;;
245;; The following user options modify the behavior of Eshell overall. 247;; The following user options modify the behavior of Eshell overall.
248(defvar eshell-buffer-name)
246 249
247(defsubst eshell-add-to-window-buffer-names () 250(defsubst eshell-add-to-window-buffer-names ()
248 "Add `eshell-buffer-name' to `same-window-buffer-names'." 251 "Add `eshell-buffer-name' to `same-window-buffer-names'."