In Shell mode, reapply ansi colorization if the mode is re-enabled.
authorChong Yidong <cyd@gnu.org>
Fri, 30 Nov 2012 08:24:53 +0000 (16:24 +0800)
committerChong Yidong <cyd@gnu.org>
Fri, 30 Nov 2012 08:24:53 +0000 (16:24 +0800)
commit276479fd709a6da85bbc6b267264db5c5a570f4e
tree2a69f3cbc4eab7fca9c04438e08b69de57e1711e
parenta813fe3fb8d13abe234169361ba2c5b0c747c5e9
In Shell mode, reapply ansi colorization if the mode is re-enabled.

* shell.el (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
(shell-mode): Use them to reapply ansi colorization if Shell mode is re-enabled.
lisp/ChangeLog
lisp/shell.el