aboutsummaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorMountain Man <43313373+MountainMan1312@users.noreply.github.com>2023-06-21 00:22:31 -0400
committerMountain Man <43313373+MountainMan1312@users.noreply.github.com>2023-06-21 00:22:31 -0400
commit783b0ae5ada28cf8bec195e3248a9558a1c64076 (patch)
tree041153dbd3e1ba42ade3527aac55df427b807b5a /init.el
parentUse `log.org` instead of `archive.org` for logged tasks/activity (diff)
downloadmmosmacs-783b0ae5ada28cf8bec195e3248a9558a1c64076.tar.gz
mmosmacs-783b0ae5ada28cf8bec195e3248a9558a1c64076.tar.bz2
mmosmacs-783b0ae5ada28cf8bec195e3248a9558a1c64076.zip
Fix usage of `display-line-numbers-mode`
Diffstat (limited to 'init.el')
-rw-r--r--init.el14
1 files changed, 7 insertions, 7 deletions
diff --git a/init.el b/init.el
index d195f5e..601f8ea 100644
--- a/init.el
+++ b/init.el
@@ -448,15 +448,15 @@
448 448
449;; Display line/column numbers 449;; Display line/column numbers
450(column-number-mode) 450(column-number-mode)
451(global-display-line-numbers-mode t) 451(add-hook 'prog-mode-hook 'display-line-numbers-mode)
452 452
453;; Disable line numbers in specific modes 453;; Disable line numbers in specific modes
454(dolist (mode '(org-mode-hook 454;; (dolist (mode '(org-mode-hook
455 org-agenda-mode-hook 455 ;; org-agenda-mode-hook
456 helpful-mode-hook 456 ;; helpful-mode-hook
457 term-mode-hook 457 ;; term-mode-hook
458 vterm-mode-hook)) 458 ;; vterm-mode-hook))
459 (add-hook mode (lambda () (display-line-numbers-mode 0)))) 459 ;; (add-hook mode (lambda () (display-line-numbers-mode 0))))
460 460
461;; Customize appearance of line-numbers 461;; Customize appearance of line-numbers
462(set-face-attribute 'line-number nil 462(set-face-attribute 'line-number nil