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: Eli Zaretskii
Subject: Re: Display line number on each buffer line
Date: Thu, 02 Dec 2021 17:09:06 +0200

> From: Michael Heerdegen <michael_heerdegen@web.de>
> Date: Thu, 02 Dec 2021 15:53:27 +0100
> 
> You can call `face-spec-set' to change the default appearance of a face,
> e.g.
> 
> #+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.



reply via email to

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