[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Region selection that keeps syntax highlighting colour
From: |
Emanuel Berg |
Subject: |
Re: Region selection that keeps syntax highlighting colour |
Date: |
Wed, 26 Oct 2022 10:16:11 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Daniel Martín wrote:
>> When I select a region, the colour of the text terns white.
>> Can one keep the original syntax highlighting colour of
>> code intact, whilst changing the background colour only?
>
> M-x customize-face region RET
>
> Make sure that the "region" face doesn't have
> a foreground color.
The OP isn't suspectible to custom, here
(set-face-attribute face nil :foreground fg
:background bg
:weight bold) )
HTH
--
underground experts united
https://dataswamp.org/~incal