changeset 40930:60252111f80c

(Shell Options): Add brief mention of ansi-color.
author Richard M. Stallman <rms@gnu.org>
date Sun, 11 Nov 2001 20:09:34 +0000
parents feea30bbbf13
children 50b111aed6d5
files man/misc.texi
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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