summaryrefslogtreecommitdiff
path: root/lisp/obsolete
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2022-09-20 20:52:42 +0200
committerStefan Kangas <stefankangas@gmail.com>2022-09-20 20:53:40 +0200
commitd506d91b1fa98b3868437e4d3638f606b4bd20a0 (patch)
treee78cac4ee3b518f92d7b9dbbb9fa3c40b74790e7 /lisp/obsolete
parent903de63c6c8da03816d3469bc8a3cc480df5ae1b (diff)
downloademacs-d506d91b1fa98b3868437e4d3638f606b4bd20a0.tar.gz
Make linum.el obsolete
* lisp/obsolete/linum.el: Add Obsolete-since. * etc/NEWS: Announce obsoletion of linum.el. (Bug#57412) * doc/misc/efaq.texi (Displaying the current line or column): * etc/TODO: * lisp/faces.el: Don't mention linum.el.
Diffstat (limited to 'lisp/obsolete')
-rw-r--r--lisp/obsolete/linum.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/lisp/obsolete/linum.el b/lisp/obsolete/linum.el
index 1b897a2bd22..017c06e426e 100644
--- a/lisp/obsolete/linum.el
+++ b/lisp/obsolete/linum.el
@@ -6,6 +6,7 @@
;; Maintainer: emacs-devel@gnu.org
;; Keywords: convenience
;; Old-Version: 0.9x
+;; Obsolete-since: 29.1
;; This file is part of GNU Emacs.
@@ -24,6 +25,13 @@
;;; Commentary:
+;; NOTE: This library was made obsolete in Emacs 29.1. 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.
+;;
+;; --------------------
+;;
;; Display line numbers for the current buffer.
;;
;; Toggle display of line numbers with M-x linum-mode. To enable