[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Changing colour of ruler-mode-current-column
From: |
Eli Zaretskii |
Subject: |
Re: Changing colour of ruler-mode-current-column |
Date: |
Sun, 11 Sep 2022 15:06:29 +0300 |
> From: Christopher Dimech <dimech@gmx.com>
> Cc: help-gnu-emacs@gnu.org
> Date: Sun, 11 Sep 2022 13:57:44 +0200
>
> > Sent: Sunday, September 11, 2022 at 5:13 PM
> > From: "Eli Zaretskii" <eliz@gnu.org>
> > To: help-gnu-emacs@gnu.org
> > Subject: Re: Changing colour of ruler-mode-current-column
> >
> > > Date: Sat, 10 Sep 2022 22:58:01 +0000
> > > From: uzibalqa <uzibalqa@proton.me>
> > >
> > > I am using ruler-mode and would like to change the background and
> > > foreground colour of the cursor indicator.
> > >
> > > Had a go but ruler-mode-current-column is not a face.
> > >
> > > (set-face-attribute 'ruler-mode-current-column nil
> > > :background "#ff4500" :foreground "#ffffff")
> >
> > Yes, ruler-mode-current-column _is_ a face, and the above works for
> > me: the colors of the current-column indicator change.
>
> There exists the possibility of needing this (require 'ruler-mode)
I evaluated the above set-face-attribute form after turning on
ruler-mode.