Mercurial > emacs
comparison lisp/eshell/esh-mode.el @ 90789:c0409ee15cee
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 670-674)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 209-210)
- Merge from emacs--devo--0
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-185
author | Miles Bader <miles@gnu.org> |
---|---|
date | Wed, 21 Mar 2007 13:33:07 +0000 |
parents | 95d0cdf160ea b32293a2b36f |
children | f55f9811f5d7 |
comparison
equal
deleted
inserted
replaced
90788:a12805fdabe8 | 90789:c0409ee15cee |
---|---|
1079 (forward-char)))))))) | 1079 (forward-char)))))))) |
1080 | 1080 |
1081 (custom-add-option 'eshell-output-filter-functions | 1081 (custom-add-option 'eshell-output-filter-functions |
1082 'eshell-handle-control-codes) | 1082 'eshell-handle-control-codes) |
1083 | 1083 |
1084 (defun eshell-handle-ansi-color () | |
1085 "Handle ANSI color codes." | |
1086 (require 'ansi-color) | |
1087 (ansi-color-apply-on-region eshell-last-output-start | |
1088 eshell-last-output-end)) | |
1089 | |
1090 (custom-add-option 'eshell-output-filter-functions | |
1091 'eshell-handle-ansi-color) | |
1092 | |
1084 ;;; Code: | 1093 ;;; Code: |
1085 | 1094 |
1086 ;;; arch-tag: ec65bc2b-da14-4547-81d3-a32af3a4dc57 | 1095 ;;; arch-tag: ec65bc2b-da14-4547-81d3-a32af3a4dc57 |
1087 ;;; esh-mode.el ends here | 1096 ;;; esh-mode.el ends here |