mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-11 16:08:13 +00:00
(Shell Options): Add brief mention of ansi-color.
This commit is contained in:
parent
4aa2d40e1a
commit
172171629f
@ -959,6 +959,13 @@ directory stack if they are not already on it
|
|||||||
(@code{shell-pushd-dunique}). The values you choose should match the
|
(@code{shell-pushd-dunique}). The values you choose should match the
|
||||||
underlying shell, of course.
|
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
|
@node Terminal emulator
|
||||||
@subsection Emacs Terminal Emulator
|
@subsection Emacs Terminal Emulator
|
||||||
@findex term
|
@findex term
|
||||||
|
Loading…
Reference in New Issue
Block a user