emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs/lisp ChangeLog eshell/esh-mode.el


From: Glenn Morris
Subject: [Emacs-diffs] emacs/lisp ChangeLog eshell/esh-mode.el
Date: Tue, 03 Nov 2009 03:14:52 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Glenn Morris <gm>       09/11/03 03:14:52

Modified files:
        lisp           : ChangeLog 
        lisp/eshell    : esh-mode.el 

Log message:
        (ansi-color-apply-on-region): Autoload it...
        (eshell-handle-ansi-color): ... Rather than requiring ansi-color.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/ChangeLog?cvsroot=emacs&r1=1.16545&r2=1.16546
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/eshell/esh-mode.el?cvsroot=emacs&r1=1.44&r2=1.45

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/emacs/emacs/lisp/ChangeLog,v
retrieving revision 1.16545
retrieving revision 1.16546
diff -u -b -r1.16545 -r1.16546
--- ChangeLog   3 Nov 2009 02:04:29 -0000       1.16545
+++ ChangeLog   3 Nov 2009 03:14:47 -0000       1.16546
@@ -1,3 +1,8 @@
+2009-11-03  Glenn Morris  <address@hidden>
+
+       * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
+       (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
+
 2009-11-03  Stefan Monnier  <address@hidden>
 
        * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):

Index: eshell/esh-mode.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/eshell/esh-mode.el,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -b -r1.44 -r1.45
--- eshell/esh-mode.el  2 Oct 2009 03:48:44 -0000       1.44
+++ eshell/esh-mode.el  3 Nov 2009 03:14:51 -0000       1.45
@@ -1073,9 +1073,10 @@
 (custom-add-option 'eshell-output-filter-functions
                   'eshell-handle-control-codes)
 
+(autoload 'ansi-color-apply-on-region "ansi-color")
+
 (defun eshell-handle-ansi-color ()
   "Handle ANSI color codes."
-  (eval-and-compile (require 'ansi-color))
   (ansi-color-apply-on-region eshell-last-output-start
                               eshell-last-output-end))
 




reply via email to

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