emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/eshell/esh-mode.el,v


From: Mark A. Hershberger
Subject: [Emacs-diffs] Changes to emacs/lisp/eshell/esh-mode.el,v
Date: Mon, 12 Mar 2007 13:30:24 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Mark A. Hershberger <hexmode>   07/03/12 13:30:24

Index: esh-mode.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/eshell/esh-mode.el,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- esh-mode.el 21 Jan 2007 02:48:43 -0000      1.27
+++ esh-mode.el 12 Mar 2007 13:30:24 -0000      1.28
@@ -1078,6 +1078,14 @@
 (custom-add-option 'eshell-output-filter-functions
                   'eshell-handle-control-codes)
 
+(defun eshell-handle-ansi-color ()
+  "Handle ANSI color codes."
+  (ansi-color-apply-on-region eshell-last-output-start
+                              eshell-last-output-end))
+
+(custom-add-option 'eshell-output-filter-functions
+                  'eshell-handle-ansi-color)
+
 ;;; Code:
 
 ;;; arch-tag: ec65bc2b-da14-4547-81d3-a32af3a4dc57




reply via email to

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