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

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

Re: width of line numbers


From: Joost Kremers
Subject: Re: width of line numbers
Date: Tue, 22 Dec 2020 11:45:01 +0100
User-agent: mu4e 1.5.7; emacs 27.1.50

On Tue, Dec 22 2020, Stephen Berman wrote:
> On Tue, 22 Dec 2020 10:23:26 +0100 Joost Kremers <joostkremers@fastmail.fm> 
> wrote:
>
>> Hi all,
>>
>> I was wondering if there's a way to find out the width of the current line
>> number display (with `display-line-number-mode`, not `linum-mode`).
>
> (line-number-display-width)

Oh boy, this topic was covered extensively a while ago... I searched for
functions starting with `display-line-numbers`...

Thanks!

-- 
Joost Kremers
Life has its moments



reply via email to

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