Fix line number display for emacs > 26.0.50

This commit is contained in:
Kevin Cotugno 2023-08-05 09:56:11 -07:00
parent 0a34675075
commit 22b34397ad

View File

@ -52,7 +52,9 @@
(add-to-list 'default-frame-alist (add-to-list 'default-frame-alist
'(font . "DejaVu Sans Mono-12"))) '(font . "DejaVu Sans Mono-12")))
(line-number-mode t) (line-number-mode t)
(global-linum-mode t) (if (version<="26.0.50" emacs-version)
(global-display-line-numbers-mode t)
(globel-linum-mode t))
(menu-bar-mode -1) (menu-bar-mode -1)
(tool-bar-mode -1) (tool-bar-mode -1)