[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Modify text appearance (put spaces after commas just for display)
From: |
Eli Zaretskii |
Subject: |
Re: Modify text appearance (put spaces after commas just for display) |
Date: |
Fri, 29 Sep 2017 15:12:38 +0300 |
> From: Alberto Luaces <aluaces@udc.es>
> Date: Tue, 26 Sep 2017 11:12:15 +0200
>
> So, from the top of your head, what would be the less painful method to
> change every comma to a comma+space, or at least change the color of the
> commas to anything more distinguishable and attach it to the language
> mode hook?
Here's one more solution for you to consider, a much simpler one IMO:
(let ((table (or (window-display-table)
buffer-display-table
(make-display-table))))
(aset table ?, (vconcat ", "))
(setq buffer-display-table table))