* src/ls.c (put_indicator): Add a note as to why we don't update dired_pos here.
Link: https://github.com/coreutils/coreutils/pull/348 --- src/ls.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ls.c b/src/ls.c index 9536209a5..4703ce927 100644 --- a/src/ls.c +++ b/src/ls.c @@ -5074,7 +5074,9 @@ get_color_indicator (const struct fileinfo *f, bool symlink_target) return s->string ? s : NULL; } -/* Output a color indicator (which may contain nulls). */ +/* Output a color indicator (which may contain nulls). + Note we don't update dired_pos here as emacs can be configured + to handle color codes by stripping/converting them. */ static void put_indicator (const struct bin_str *ind) { -- 2.55.0
