emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/lisp ansi-color.el


From: Chong Yidong
Subject: [Emacs-diffs] emacs/lisp ansi-color.el
Date: Sat, 05 Dec 2009 21:11:29 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      09/12/05 21:11:29

Modified files:
        lisp           : ansi-color.el 

Log message:
        Fix commentary to reflect that ansi-color is now enabled by default.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/ansi-color.el?cvsroot=emacs&r1=1.33&r2=1.34

Patches:
Index: ansi-color.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/ansi-color.el,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- ansi-color.el       5 Dec 2009 21:05:54 -0000       1.33
+++ ansi-color.el       5 Dec 2009 21:11:29 -0000       1.34
@@ -30,23 +30,15 @@
 ;; known as ANSI escape sequences) and tries to translate these into
 ;; faces.
 ;;
-;; This allows you to run ls --color=yes in shell-mode.  In order to
-;; test this, proceed as follows:
-;;
-;; 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
+;; This allows you to run ls --color=yes in shell-mode.  It is now
+;; enabled by default; to disable it, set ansi-color-for-comint-mode
+;; to nil.
 ;;
 ;; Note that starting your shell from within Emacs might set the TERM
 ;; environment variable.  The new setting might disable the output of
 ;; SGR control sequences.  Using ls --color=yes forces ls to produce
 ;; 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
 ;; 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]