summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2019-06-01 01:40:11 +0200
committerStefan Kangas <stefankangas@gmail.com>2019-08-27 02:41:51 +0200
commit3ef6849b458893669b1d83653e3672f7f1ac56cd (patch)
treed721244469ca92785a929cfa753bbb65dab8e3d8 /lisp
parentf600134a24feab37f393e066e811f5c09ad48917 (diff)
downloademacs-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.el3
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)