Mercurial > emacs
changeset 105831:064a30d48e7e
(ansi-color-apply-on-region): Autoload it...
(eshell-handle-ansi-color): ... Rather than requiring ansi-color.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Tue, 03 Nov 2009 03:14:47 +0000 |
parents | 378d4ce3aada |
children | 56392d7b0ff4 |
files | lisp/ChangeLog lisp/eshell/esh-mode.el |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Tue Nov 03 03:12:34 2009 +0000 +++ b/lisp/ChangeLog Tue Nov 03 03:14:47 2009 +0000 @@ -1,3 +1,8 @@ +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):
--- a/lisp/eshell/esh-mode.el Tue Nov 03 03:12:34 2009 +0000 +++ b/lisp/eshell/esh-mode.el Tue Nov 03 03:14:47 2009 +0000 @@ -1073,9 +1073,10 @@ (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))