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 15:53:27 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

fatiparty--- via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> writes:

> That is good, but I want to do that from my init file if possible.  Is
> there a way to reduce the line number size as well?

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

The face spec is the same thing as in face definitions.

Michael.




reply via email to

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