[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7485: 23.2; Fix removing unrecognized ANSI sequences in ansi-color-a
From: |
Leo |
Subject: |
bug#7485: 23.2; Fix removing unrecognized ANSI sequences in ansi-color-apply |
Date: |
Fri, 26 Nov 2010 14:48:20 +0000 |
In ansi-color-apply, (string-match "\033" string start) finds the wrong
portion of context if unrecognized ANSI sequences is not removed before
the match.
This can cause, for example, eshell's prompt to disappear if
ansi-color-apply is used in eshell-preoutput-filter-functions. The
attached patch tries to fix this.
Leo
fix-ansi.diff
Description: fix-ansi.diff
- bug#7485: 23.2; Fix removing unrecognized ANSI sequences in ansi-color-apply,
Leo <=