awesome thanks. On Mon, Jul 10, 2017 at 3:18 PM, Eli Zaretskii wrote: > > From: Filipe Silva > > Date: Mon, 10 Jul 2017 15:15:02 -0300 > > Cc: James Cloos , Emacs developers < > emacs-devel@gnu.org> > > > > 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. > >