1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 23:10:47 -08:00

Prefer display-line-numbers over linum in docs and one defcustom

* doc/misc/efaq.texi: Replace linum with display-line-numbers.
* lisp/progmodes/prog-mode.el (prog-mode-hook): Replace linum-mode
with display-line-numbers-mode in :options.  (Bug#37120)
This commit is contained in:
Stefan Kangas 2019-06-01 01:40:11 +02:00
parent f600134a24
commit 3ef6849b45
2 changed files with 17 additions and 6 deletions

View file

@ -39,7 +39,8 @@
(defcustom prog-mode-hook nil
"Normal hook run when entering programming modes."
:type 'hook
:options '(flyspell-prog-mode abbrev-mode flymake-mode linum-mode
:options '(flyspell-prog-mode abbrev-mode flymake-mode
display-line-numbers-mode
prettify-symbols-mode)
:group 'prog-mode)