Mercurial > emacs
comparison lisp/eshell/esh-mode.el @ 85503:59ee4068f60b
* progmodes/gud.el (gud-target-name): Move definition before use.
* progmodes/dcl-mode.el: Require imenu at compile time.
* progmodes/cc-engine.el (c-maybe-stale-found-type): Pacify
byte-compiler.
* obsolete/fast-lock.el: Use featurep test instead of
string-match.
* eshell/esh-mode.el (eshell-handle-ansi-color): Require
ansi-color at compile time too.
* eshell/em-unix.el (eshell/info): Require info at compile time
too.
* w32-fns.el: Require w32-vars.
* diff-mode.el (diff-refine-hunk): Require smerge-mode at compile
time too.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Sun, 21 Oct 2007 07:33:32 +0000 |
parents | 238c49dfaa1b |
children | 4a2d5f02a8a7 4bc33ffdda1a |
comparison
equal
deleted
inserted
replaced
85502:0b3f2c1b1178 | 85503:59ee4068f60b |
---|---|
1076 (custom-add-option 'eshell-output-filter-functions | 1076 (custom-add-option 'eshell-output-filter-functions |
1077 'eshell-handle-control-codes) | 1077 'eshell-handle-control-codes) |
1078 | 1078 |
1079 (defun eshell-handle-ansi-color () | 1079 (defun eshell-handle-ansi-color () |
1080 "Handle ANSI color codes." | 1080 "Handle ANSI color codes." |
1081 (require 'ansi-color) | 1081 (eval-and-compile (require 'ansi-color)) |
1082 (ansi-color-apply-on-region eshell-last-output-start | 1082 (ansi-color-apply-on-region eshell-last-output-start |
1083 eshell-last-output-end)) | 1083 eshell-last-output-end)) |
1084 | 1084 |
1085 (custom-add-option 'eshell-output-filter-functions | 1085 (custom-add-option 'eshell-output-filter-functions |
1086 'eshell-handle-ansi-color) | 1086 'eshell-handle-ansi-color) |