# HG changeset patch # User Richard M. Stallman # Date 1005509374 0 # Node ID 60252111f80c9874ccc06571ebd38ffc3c4e4771 # Parent feea30bbbf138126c13d4eb41aca9ec038a94189 (Shell Options): Add brief mention of ansi-color. diff -r feea30bbbf13 -r 60252111f80c man/misc.texi --- a/man/misc.texi Sun Nov 11 20:08:57 2001 +0000 +++ b/man/misc.texi Sun Nov 11 20:09:34 2001 +0000 @@ -959,6 +959,13 @@ (@code{shell-pushd-dunique}). The values you choose should match the underlying shell, of course. + If you want Shell mode to handle color output from shell commands, +you can enable ANSI Color mode. Here is how to do this: + +@example +(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on) +@end example + @node Terminal emulator @subsection Emacs Terminal Emulator @findex term