From: Stefan Kangas Date: Wed, 5 Oct 2022 23:32:59 +0000 (+0200) Subject: * etc/NEWS: Add instructions for replacing 'linum'. (Bug#58220) X-Git-Tag: emacs-29.0.90~1855^2~14 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9cb38135505d65c6d171da721831bb542e1074ae;p=emacs.git * etc/NEWS: Add instructions for replacing 'linum'. (Bug#58220) --- diff --git a/etc/NEWS b/etc/NEWS index b616c5382ca..fc7d89719bc 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -443,6 +443,20 @@ We recommend using either the built-in 'display-line-numbers-mode', or the 'nlinum' package from GNU ELPA instead. The former has better performance, but the latter is closer to a drop-in replacement. +1. To use 'display-line-numbers-mode', add something like this to your + Init file: + + (global-display-line-numbers-mode 1) + ;; Alternatively, to use it only in programming modes: + (add-hook 'prog-mode-hook #'display-line-numbers-mode) + +2. To use 'nlinum', add this to your Init file: + + (package-install 'nlinum) + (global-nlinum-mode 1) + ;; Alternatively, to use it only in programming modes: + (add-hook 'prog-mode-hook #'nlinum-mode) + --- ** The thumbs.el library is now obsolete. We recommend using 'M-x image-dired' instead.