Emacs: show line numbers on 26 and later

This commit is contained in:
Marcel Kapfer 2019-05-20 18:04:25 +02:00
parent 59b3a3190c
commit 940998796a
Signed by: mmk2410
GPG Key ID: CADE6F0C09F21B09
1 changed files with 4 additions and 0 deletions

View File

@ -115,6 +115,10 @@
;; Highlight the current line
(global-hl-line-mode t)
;; Show line numbers on Emacs 26 and later
(when (version<= "26.0.50" emacs-version)
(global-display-line-numbers-mode))
;; replace selected text by typing
(delete-selection-mode t)