[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Transient mark mode
From: |
Morten Leander Petersen |
Subject: |
Re: Transient mark mode |
Date: |
Tue, 18 Oct 2011 10:16:14 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
Deniz Dogan <deniz@dogan.se> writes:
> On 2011-10-17 11:38, Morten Leander Petersen wrote:
>> Hi.
>>
>> I use a couple of modes which require transient mark mode to be enabled
>> (yasnippet for one). However, I don't like the highlighting of the
>> region. So is there a way to get rid of this highlighting without having
>> to disable transient mark mode?
>>
>
> Just remove the `background' property from the `region' face using
> customize:
>
> (custom-set-faces
> ;; custom-set-faces was added by Custom.
> ;; If you edit it by hand, you could mess it up, so be careful.
> ;; Your init file should contain only one such instance.
> ;; If there is more than one, they won't work right.
> '(region ((t nil))))
>
>
For some reason this did not work for me. However if I did it manually
it worked, i.e. I put the following in my .emacs
(set-face-foreground 'region nil)
(set-face-background 'region nil)
and that did the trick.
Thank you for the help.
--
/Morten