1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-24 10:38:38 +00:00

(Shell Options): Add brief mention of ansi-color.

This commit is contained in:
Richard M. Stallman 2001-11-11 20:09:34 +00:00
parent 4aa2d40e1a
commit 172171629f

View File

@ -959,6 +959,13 @@ directory stack if they are not already on it
(@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