aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/eshell')
-rw-r--r--lisp/eshell/esh-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/eshell/esh-mode.el b/lisp/eshell/esh-mode.el
index 0fa6347edee..1cef98794f5 100644
--- a/lisp/eshell/esh-mode.el
+++ b/lisp/eshell/esh-mode.el
@@ -1073,9 +1073,10 @@ This function could be in the list `eshell-output-filter-functions'."
1073(custom-add-option 'eshell-output-filter-functions 1073(custom-add-option 'eshell-output-filter-functions
1074 'eshell-handle-control-codes) 1074 'eshell-handle-control-codes)
1075 1075
1076(autoload 'ansi-color-apply-on-region "ansi-color")
1077
1076(defun eshell-handle-ansi-color () 1078(defun eshell-handle-ansi-color ()
1077 "Handle ANSI color codes." 1079 "Handle ANSI color codes."
1078 (eval-and-compile (require 'ansi-color))
1079 (ansi-color-apply-on-region eshell-last-output-start 1080 (ansi-color-apply-on-region eshell-last-output-start
1080 eshell-last-output-end)) 1081 eshell-last-output-end))
1081 1082