diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2019-06-01 01:40:11 +0200 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2019-08-27 02:41:51 +0200 |
commit | 3ef6849b458893669b1d83653e3672f7f1ac56cd (patch) | |
tree | d721244469ca92785a929cfa753bbb65dab8e3d8 /lisp | |
parent | f600134a24feab37f393e066e811f5c09ad48917 (diff) | |
download | emacs-3ef6849b458893669b1d83653e3672f7f1ac56cd.tar.gz emacs-3ef6849b458893669b1d83653e3672f7f1ac56cd.tar.bz2 emacs-3ef6849b458893669b1d83653e3672f7f1ac56cd.zip |
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)
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/progmodes/prog-mode.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/prog-mode.el b/lisp/progmodes/prog-mode.el index cb39e62265d..8d3513bad30 100644 --- a/lisp/progmodes/prog-mode.el +++ b/lisp/progmodes/prog-mode.el @@ -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) |