aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2012-02-19 21:59:42 +0800
committerChong Yidong2012-02-19 21:59:42 +0800
commit0fd40f8951f1aaa387e78999ecfbf6bc954ccf8a (patch)
tree48386211397064dd0eb1bc47fb0a292e3ad4e19f /src
parent2375c96a71874756c132de1d0508a224c0fea0ab (diff)
downloademacs-0fd40f8951f1aaa387e78999ecfbf6bc954ccf8a.tar.gz
emacs-0fd40f8951f1aaa387e78999ecfbf6bc954ccf8a.zip
Use text properties for color escape highlighting in Shell mode.
* ansi-color.el: Don't set comint-output-filter-functions; it is now in the initial value defined in comint.el. (ansi-color-apply-face-function): New variable. (ansi-color-apply-on-region): Use it. (ansi-color-apply-overlay-face): New function. * comint.el: Require ansi-color. (comint-output-filter-functions): Add ansi-color-process-output. * shell.el (shell): No need to require ansi-color. (shell-mode): Use ansi-color-apply-face-function to highlight color escapes using font-lock-face property. Fixes: debbugs:10835
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions