mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-03 20:24:29 +00:00
Fix commentary to reflect that ansi-color is now enabled by default.
This commit is contained in:
parent
93bff74909
commit
89601c7b25
@ -30,23 +30,15 @@
|
|||||||
;; known as ANSI escape sequences) and tries to translate these into
|
;; known as ANSI escape sequences) and tries to translate these into
|
||||||
;; faces.
|
;; faces.
|
||||||
;;
|
;;
|
||||||
;; This allows you to run ls --color=yes in shell-mode. In order to
|
;; This allows you to run ls --color=yes in shell-mode. It is now
|
||||||
;; test this, proceed as follows:
|
;; enabled by default; to disable it, set ansi-color-for-comint-mode
|
||||||
;;
|
;; to nil.
|
||||||
;; 1. start a shell: M-x shell
|
|
||||||
;; 2. load this file: M-x load-library RET ansi-color RET
|
|
||||||
;; 3. activate ansi-color: M-x ansi-color-for-comint-mode-on
|
|
||||||
;; 4. test ls --color=yes in the *shell* buffer
|
|
||||||
;;
|
;;
|
||||||
;; Note that starting your shell from within Emacs might set the TERM
|
;; Note that starting your shell from within Emacs might set the TERM
|
||||||
;; environment variable. The new setting might disable the output of
|
;; environment variable. The new setting might disable the output of
|
||||||
;; SGR control sequences. Using ls --color=yes forces ls to produce
|
;; SGR control sequences. Using ls --color=yes forces ls to produce
|
||||||
;; these.
|
;; these.
|
||||||
;;
|
;;
|
||||||
;; If you decide you like this, add the following to your .emacs file:
|
|
||||||
;;
|
|
||||||
;; (add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
|
|
||||||
;;
|
|
||||||
;; SGR control sequences are defined in section 3.8.117 of the ECMA-48
|
;; SGR control sequences are defined in section 3.8.117 of the ECMA-48
|
||||||
;; standard (identical to ISO/IEC 6429), which is freely available as a
|
;; standard (identical to ISO/IEC 6429), which is freely available as a
|
||||||
;; PDF file <URL:http://www.ecma.ch/ecma1/STAND/ECMA-048.HTM>. The
|
;; PDF file <URL:http://www.ecma.ch/ecma1/STAND/ECMA-048.HTM>. The
|
||||||
|
Loading…
x
Reference in New Issue
Block a user