help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Display line number on each buffer line


From: Michael Heerdegen
Subject: Re: Display line number on each buffer line
Date: Thu, 02 Dec 2021 16:23:00 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> > #+begin_src emacs-lisp
> > (face-spec-set 'line-number
> >                '((t (:foreground "red" :height .6)))
> >                'face-defface-spec)
> > #+end_src
>
> In general, set-face-attribute is the recommended method of changing
> attributes of faces.

Thanks for that clarification.

I am using different color themes, light and dark ones, and AFAIR this
is the reason why I prefer a complete redefinition as above instead of
`set-face-attribute' calls.

Michael.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]