Commit db04f33f authored by Glenn Morris's avatar Glenn Morris
Browse files

(ansi-color-apply-on-region): Autoload it...

(eshell-handle-ansi-color): ... Rather than requiring ansi-color.
parent 659f64e9
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):
......
......@@ -1073,9 +1073,10 @@ This function could be in the list `eshell-output-filter-functions'."
(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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment