[Top][All Lists]

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

Re: Native line numbers, final testing

From: Filipe Silva
Subject: Re: Native line numbers, final testing
Date: Mon, 10 Jul 2017 15:23:28 -0300

awesome thanks.

On Mon, Jul 10, 2017 at 3:18 PM, Eli Zaretskii <address@hidden> wrote:
> From: Filipe Silva <address@hidden>
> Date: Mon, 10 Jul 2017 15:15:02 -0300
> Cc: James Cloos <address@hidden>, Emacs developers <address@hidden>
> Eli, is there a way to disable line numbers, but just for somem modes?
> Or better, to enable line numbers, only for certain types of modes or filetypes?

The variable display-line-numbers is buffer-local, so you can set it
to a non-nil value in a mode hook.  Do that for major modes which
correspond to files in which you want the line numbers, and don't turn
on the mode globally.

reply via email to

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