From 46a508b43082b3f086ac67b9fbc89917029250e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C3=ABl=20Hauspie?= <michael.hauspie@univ-lille.fr>
Date: Thu, 21 Jan 2021 17:18:05 +0100
Subject: [PATCH] Switch for old linum-mode to display-line-numbers-mode

---
 configuration.org | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/configuration.org b/configuration.org
index 3a2fa61..3e8f196 100644
--- a/configuration.org
+++ b/configuration.org
@@ -241,13 +241,8 @@ Some of my configuration entries where borrowed from other people, see
 ;; Highlight current line
 (global-hl-line-mode t)
 
-;; Show line number on the left hand side of the code Set line numbers
-;; to alway be of the same same, even if we increase the font size
-;; This is useful when I stream or do lecture where I need to increase
-;; font.  As linum does not change the width of the window it uses,
-;; things gets messy if the line number font increases
-(global-linum-mode t)
-(set-face-attribute 'linum nil :height 110)
+;; Show line number on the left hand side of the code 
+(global-display-line-numbers-mode)
 
 ;; Show matching parenthesis
 (show-paren-mode t)
-- 
GitLab