summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config.org6
1 files changed, 4 insertions, 2 deletions
diff --git a/config.org b/config.org index 68aa3e1..d6ad3d0 100644 --- a/config.org +++ b/config.org
@@ -926,8 +926,10 @@ from [[https://github.com/alphapapa/unpackaged.el#org-return-dwim][unpackaged.el
926 "Enable line numbers, either through `display-line-numbers-mode' 926 "Enable line numbers, either through `display-line-numbers-mode'
927 or through `linum-mode'." 927 or through `linum-mode'."
928 (if (and (fboundp 'display-line-numbers-mode) 928 (if (and (fboundp 'display-line-numbers-mode)
929 (display-graphic-p)) 929 (display-graphic-p))
930 (display-line-numbers-mode 1) 930 (progn
931 (display-line-numbers-mode 1)
932 (cuss display-line-numbers-width 2))
931 (linum-mode 1))) 933 (linum-mode 1)))
932 934
933 (add-hook 'prog-mode-hook #'acdw/enable-line-numbers) 935 (add-hook 'prog-mode-hook #'acdw/enable-line-numbers)