(eshell-handle-ansi-color): ... Rather than requiring ansi-color.
+2009-11-03 Glenn Morris <rgm@gnu.org>
+
+ * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
+ (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
+
2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
* term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
(custom-add-option 'eshell-output-filter-functions
'eshell-handle-control-codes)
+(autoload 'ansi-color-apply-on-region "ansi-color")
+
(defun eshell-handle-ansi-color ()
"Handle ANSI color codes."
- (eval-and-compile (require 'ansi-color))
(ansi-color-apply-on-region eshell-last-output-start
eshell-last-output-end))